Using multiple files from folder
Mostrar comentarios más antiguos
Hello
I have a script that takes some xls files and rearrange them to put them into a new xls files. While also i have a folder where all the initial xls files exist. The names of the xls files are BAG?.xls and TEMP?.xls where ? can be from 1 to millions of file.
e.g. in the folder BAG1.xls TEMP1.xls BAG2.xls TEMP2.xls BAG3.xls TEMP3.xls exist.
Now my script has been program so that it ask me every time the BAG file and TEMP file name and does it's actions to rearrange them.
How is it possible to tell the script to scan the folder to see how many files we have then to take BAG1 and TEMP1 do the actions, then automatically take BAG2 and TEMP2 do the actions and to continue like this?
Thank you in advance Alex
1 comentario
Alexandros
el 28 de Nov. de 2011
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Search Path 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!