How to load a .dat file?
3 ビュー (過去 30 日間)
古いコメントを表示
How to load a .dat file? I saved the Oscilloscope(waverunner 610zi) Please refer to the attached file and let me know.
3 件のコメント
採用された回答
Ameer Hamza
2018 年 5 月 6 日
編集済み: Ameer Hamza
2018 年 5 月 6 日
You can import the file easily by import tool
uiimport
but if you want to import it programatically, do it like this
f = fopen('M1--L10-22 TR SW--00000.dat');
data = textscan(f, '%f %f');
data = cell2mat(data); % convert to matrix from cell array
fclose(f)
5 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Large Files and Big Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!