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

조회 수: 1 (최근 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 CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by