How can I write an output file .dat?
이전 댓글 표시

How can I write an output file(.dat) which containing a,t,y,z?
답변 (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');
카테고리
도움말 센터 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!