How can I write an output file .dat?
36 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171354/image.png)
How can I write an output file(.dat) which containing a,t,y,z?
0 件のコメント
回答 (1 件)
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');
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!