フィルターのクリア

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 Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by