How to read vector of strings into MATLAB?

2 vues (au cours des 30 derniers jours)
Danny
Danny le 5 Déc 2014
Commenté : Danny le 6 Déc 2014
I have an Excel file with a list of strings in the first column (one string per cell). How do I import the strings into a vector in MATLAB?

Réponse acceptée

Image Analyst
Image Analyst le 5 Déc 2014
[numbers, strings, everything] = xlsread(filename);
  1 commentaire
Danny
Danny le 6 Déc 2014
This is exactly what I was looking for. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by