Info

This question is closed. Reopen it to edit or answer.

How to read .txt files named as number?

1 view (last 30 days)
Mr. 206
Mr. 206 on 10 Jan 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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'));

Answers (1)

madhan ravi
madhan ravi on 10 Jan 2019

Tags

Community Treasure Hunt

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

Start Hunting!