Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How to read .txt files named as number?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
madhan ravi
il 10 Gen 2019
https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html - sprintf() does the job.
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!