How can I write an output file .dat?
31 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Seung-hyeon Choe
el 18 de Mzo. de 2018
Respondida: Tony Mohan Varghese
el 21 de Mzo. de 2018
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171354/image.png)
How can I write an output file(.dat) which containing a,t,y,z?
0 comentarios
Respuestas (1)
Tony Mohan Varghese
el 21 de Mzo. de 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');
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!