opening multiple txt with fopen...

4 ビュー (過去 30 日間)
Andrew
Andrew 2013 年 8 月 28 日
how can i change the value of k and have something like f = fopen ('C:\s\101.0mm.txt');
f = fopen ('C:\s\102.0mm.txt');
f = fopen ('C:\s\103.0mm.txt');
f = fopen ('C:\s\104.0mm.txt');
k=101:1:104
f = fopen ('C:\s\k.txt');
C = textscan(f, '%f %f ', 'HeaderLines', 7)
fclose(f);
B=C{2}'
thank you...

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 8 月 28 日

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by