xlsread
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Is it possible to say in xlsread to import the last workbook in a spreadsheet? I know its possible to define which workbook you want if you know the name of the workbook but if you dont, is there a statement that says to take the last workbook?
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 1 Dez. 2011
You could use xlsfinfo() to get the sheet names and then you'll get the last sheet name.
[A, DESCR, FORMAT] = XLSFINFO('FILENAME')
Normally, 'DESCR' will return all the sheet names in a cell array.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Software Development Tools 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!