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

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Image Analyst
Image Analyst il 12 Set 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.

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by