Convert Txt file to an array
古いコメントを表示
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);
回答 (1 件)
Walter Roberson
2022 年 6 月 27 日
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');
カテゴリ
ヘルプ センター および File Exchange で Cell Arrays についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!