how to load multiple text file

hello, i have data
wani_dorsi_trial1.txt until wani_dorsi_trial30.txt
the problem here is that i dont know how to load all the file at once. please help me

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 10 日
編集済み: Azzi Abdelmalek 2013 年 5 月 10 日

0 投票

Use sprintf to generate multiple file name.
for k=1:30
filename=sprintf('wani_dorsi_trial%d.txt',k)
% do
end

カテゴリ

質問済み:

2013 年 5 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by