how to open such files "File B -ASCII" saved from MATLAB?

2 ビュー (過去 30 日間)
chocho
chocho 2020 年 1 月 8 日
コメント済み: chocho 2020 年 1 月 12 日
Hi guys,
A text file saved from MATLAB like this "save ./source_file/Results B -ASCII" how it can be open using which software or any ??
I apprecaite your help!

採用された回答

Stephen23
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
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.
chocho
chocho 2020 年 1 月 12 日
Thanks@ Stephen Cobeldick, @Guillaume the problem has been solved thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by