How to load a .log file in MATLAB on Mac Machine?

조회 수: 3 (최근 30일)
Megha
Megha 2023년 8월 10일
댓글: Walter Roberson 2023년 8월 10일
I want to load a .log file in MATLAB on Mac Machine.
For Windows machine I used the following command and it wokred preety well:
X = readtable('filename', 'FileType', 'text');
However, this command shows most of the columns as NaN while loading on Mac.
Any help appriciated.
  댓글 수: 2
Steven Lord
Steven Lord 2023년 8월 10일
Which of the 42 different programs that this page lists as creating files with the .log extension created this file? Or was it some other program that created it?
Without knowledge of the file format used to create it or perhaps some sort of Rosetta Stone I think it's going to be difficult or impossible to offer guidance. Showing a sample of a .log file might help someone determine details of the format, but it may not provide enough information.
Walter Roberson
Walter Roberson 2023년 8월 10일
I speculate that you using a version of MATLAB that is early enough that on Windows it still defaulted to talking to Excel to read xlsx files; the Mac never use Excel for reading tables.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by