필터 지우기
필터 지우기

xlsread problem in 2018a

조회 수: 2 (최근 30일)
Af
Af 2018년 4월 26일
댓글: Af 2018년 4월 26일
I just try to read an excel file into matlab. I use the very straightforwar call to the function
[NUMERICTrg,TXTTrg,RAWTrg]=xlsread(WrkFl);
and I face an error like the following:
Error: File: xlsread.m Line: 113 Column: 8 Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name: "matlab.io.internal.utility.convertStringsToChars" fails this test.
Error in WrpEvntTtlMaxUpdated (line 32) [NUMERICTrg,TXTTrg,RAWTrg]=xlsread(WrkFl);
What could be the reason?
Best regards,
  댓글 수: 2
Guillaume
Guillaume 2018년 4월 26일
Have you modified xlsread.m by any chance?
Is you path corrupt? Have you tried restoredefaultpath?
Af
Af 2018년 4월 26일
The WrkFl is jut a file name. I did not modify xlsread, well basically it does not let any editing for that file. After I restarted the computer, it functioned normally. closing down the MATLAB and reopening it was not useful though.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by