How can I write an output file .dat?
조회 수: 12 (최근 30일)
이전 댓글 표시

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
참고 항목
카테고리
Help Center 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!