how to read xls file with char value?
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
fred bnm
am 27 Okt. 2016
Kommentiert: Walter Roberson
am 27 Okt. 2016
after using xlsread function,Only numerical output variable but Character variable can not be read pleas guide me.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 27 Okt. 2016
Use xlsread with at least two outputs:
[num,str] = xlsread(filename);
1 Kommentar
Walter Roberson
am 27 Okt. 2016
I have found that pretty much every time that I need strings from a .xls or .xlsx file, that I need to use the third output from xlsread, the "raw" output. -- otherwise it gets too messy to try to figure out which numbers correspond to which strings, in my experience.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!