How to only grab *.xls files, not *.xlsx or *.xlsm?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Calabrese
am 22 Jun. 2017
Kommentiert: Calabrese
am 23 Jun. 2017
I am using the following before I run a loop and it is pulling *.xlsm files. Is there a way to cut off the call at *.xls?
SVMS_xls=dir('*.xls');
8 Kommentare
Akzeptierte Antwort
Jan
am 23 Jun. 2017
This is not the case in the Matlab versions I know: R5.3, 6.5, 2008a, 2009a, 2011b, 2015b, 2016b, under Windows XP and 7 and Linux. Here dir('*.xls') does not include .xlsm files. Please check your code again.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations 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!