Convert Txt file to an array

6 ビュー (過去 30 日間)
abdul azim
abdul azim 2022 年 6 月 27 日
回答済み: Walter Roberson 2022 年 6 月 27 日
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 6 月 27 日
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by