How can I write an output file .dat?

36 ビュー (過去 30 日間)
Seung-hyeon Choe
Seung-hyeon Choe 2018 年 3 月 18 日
回答済み: Tony Mohan Varghese 2018 年 3 月 21 日
How can I write an output file(.dat) which containing a,t,y,z?

回答 (1 件)

Tony Mohan Varghese
Tony Mohan Varghese 2018 年 3 月 21 日
you can use the save function in MATLAB.
for example:
x = randn(100,1);
save test.dat x -ascii
% or
save('c:\folderyouwant\test.dat','x','-ascii');

カテゴリ

Help Center および File Exchange데이터 가져오기와 분석 についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!