.MAT to .DAT
3 views (last 30 days)
Show older comments
I have a prepared a matlab mat file and i want to export it to a text .dat file. The .dat file has to be SPACE-DELIMITED. What is the best way to do this. Thanx!
0 Comments
Answers (1)
Wayne King
on 13 Mar 2012
Does the .mat file have only numeric data?
You can use dlmwrite with the 'delimiter','\t' option to tab delimit the data. See the help for dlmwrite
You can also just try using save with the -ascii option
0 Comments
See Also
Categories
Find more on Text Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!