how to open such files "File B -ASCII" saved from MATLAB?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Stephen23
2020-1-8
编辑:Stephen23
2020-1-9
The -ASCII option saves a double array as a text file with space delimiters. This means:
- Any text editor can open that text file.
- Any application that can parse a text file containing numeric data separated with (multiple) space character delimiters can import that data.
The MS Excel file importing wizard also handles it without any problems.
As Guillaume pointed out, you should probably avoid using save anyway: its text file format is apparently designed to look nice for humans and not really for transferring data between applications.
3 个评论
Guillaume
2020-1-8
If you want to export numerical data as text, you would be better off using writematrix, dlmwrite or csvwrite rather than save.
However, if you do not understand scientific notation and are not able to interpret 0.00e+00 then you need to learn about it as it's very commonly used.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!