Load data with .SPC extensions and certain name characteristics
Ältere Kommentare anzeigen
Hello,
Say I have a folder containing multiple .spc files (see image below). How do I load only .spc files which has abc as part of the name. As one can see, there are 5 files with .spc extensions but only 3 of them have abc as part of the name. What code/script can I use to load only the .spc files with abc as part of the name?

Thanks!
Antworten (1)
Stephen23
am 2 Jan. 2023
S = dir('*abc.spc')
then loop over the filenames as usual:
Kategorien
Mehr zu Vehicle Network Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!