Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to read .txt files named as number?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
In one of my folders i have files like "Mech_01.txt", "Mech_02.txt", "Mech_03.txt"......... as well as files like "Mech_A.txt", "Mech_B.txt", "Mech_C.txt"..........
How can i read them separately using dir command?
Flame_speed__Exp_folder = '/home/ali/LFS/test/Test_rig';
Allfiles_Exp = dir(fullfile(Flame_speed__Exp_folder, '*Mech_*.txt'));
0 commentaires
Réponses (1)
madhan ravi
le 10 Jan 2019
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - sprintf() does the job.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!