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
Tony Mohan Varghese 2018년 3월 21일

0 개 추천

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');

카테고리

제품

질문:

2018년 3월 18일

답변:

2018년 3월 21일

Community Treasure Hunt

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

Start Hunting!