How to move all the image files in a folder to a sub-folder without user intervention?

2 visualizaciones (últimos 30 días)
I have written a script that generates different plot figures for corresponding data in excel spreadsheets. At the end, I need to move all these files into a sub-folder whose name is provided by the user with a GUI Textbox Input, as a string that is read by mkdir function. Can anyone please help me with this?

Respuestas (1)

Image Analyst
Image Analyst el 12 de Sept. de 2014
Use the FAQ http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F and movefile(). Let us know if you can't figure it out.

Categorías

Más información sobre File Operations 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!

Translated by