Load data with .SPC extensions and certain name characteristics
2 visualizaciones (últimos 30 días)
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!
0 comentarios
Respuestas (1)
Stephen23
el 2 de En. de 2023
S = dir('*abc.spc')
then loop over the filenames as usual:
0 comentarios
Ver también
Categorías
Más información sobre Embedded Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!