How can I write an output file .dat?
12 views (last 30 days)
Show older comments

How can I write an output file(.dat) which containing a,t,y,z?
0 Comments
Answers (1)
Tony Mohan Varghese
on 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');
0 Comments
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!