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

1 vue (au cours des 30 derniers jours)
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?

Réponses (1)

Image Analyst
Image Analyst le 12 Sep 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.

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by