Load data with .SPC extensions and certain name characteristics
Mostrar comentarios más antiguos
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!
Respuestas (1)
Stephen23
el 2 de En. de 2023
S = dir('*abc.spc')
then loop over the filenames as usual:
Categorías
Más información sobre General Applications en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!