Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to read .txt files named as number?

1 次查看(过去 30 天)
Mr. 206
Mr. 206 2019-1-10
关闭: MATLAB Answer Bot 2021-8-20
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'));

回答(1 个)

madhan ravi
madhan ravi 2019-1-10

标签

Community Treasure Hunt

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

Start Hunting!

Translated by