How can I write an output file .dat?

Respuestas (1)

Tony Mohan Varghese
Tony Mohan Varghese el 21 de Mzo. de 2018

0 votos

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

Productos

Preguntada:

el 18 de Mzo. de 2018

Respondida:

el 21 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!