필터 지우기
필터 지우기

Readtable .xls error in MacOS

조회 수: 6 (최근 30일)
도연 원
도연 원 2022년 9월 23일
댓글: 도연 원 2022년 9월 24일
Hi, guys.
I have a trouble with readtable function.
In Mac OS, readtable won't work with .xls file. Matlab shows error message of do I have authorization with accessing the file, or does file really exist.
And just for the record, my Mac's preference setting/ folder and files is all checked status for Matlab, so it is not the problem for accessing the file. and... I am using M1 Pro Macbook 16.
However when I try - I use also windows - readtable, with same .xls file in the windows Matlab, it works problem-free.
And also... When I change .xls file into .xlsx file and readtable in the MacOS, it works.
So... Is Matlab not supporing .xls files to be read in 'readtable' function in MacOS?

답변 (1개)

HYEONSEOK SEOK
HYEONSEOK SEOK 2022년 9월 23일
I need to know the error text or version when using it.
Possible issues are that xlsread is used(this may not be the case)., the path is set to (\), or it's a MATLAB version issue (under 2014) . Also, there may be cases where the sheet rows are duplicated, so please use .csv if possible.
https://kr.mathworks.com/matlabcentral/answers/845910-why-readtable-function-cannot-read-an-xlsx-file-properly
  댓글 수: 1
도연 원
도연 원 2022년 9월 24일
서비스 요청하기로 문의드려도 되나요?

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

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by