Azzera filtri
Azzera filtri

How can I write an output file .dat?

43 visualizzazioni (ultimi 30 giorni)
Seung-hyeon Choe
Seung-hyeon Choe il 18 Mar 2018
How can I write an output file(.dat) which containing a,t,y,z?

Risposte (1)

Tony Mohan Varghese
Tony Mohan Varghese il 21 Mar 2018
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');

Categorie

Scopri di più su MATLAB 시작하기 in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!