フィルターのクリア

xlsread error after updating to 2016b

3 ビュー (過去 30 日間)
chris_andreas
chris_andreas 2016 年 9 月 20 日
コメント済み: Robert Mills 2020 年 7 月 18 日
Hi! After updating to Version 2016b the xlsread function gives out following error:
Error using xlsread (line 249)
Error: File: xlsreadCOM.m Line: 113 Column: 12
Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name:
"matlab.io.spreadsheet.internal.columnLetter" fails this test.
With the Version 2015b the function worked fine! Can anyone help?
Thanks a lot. Cheers, Chris
  6 件のコメント
per isakson
per isakson 2016 年 12 月 5 日
Steven's code give the same result on my R2016a
C:\Program Files\MATLAB\R2016a\toolbox\matlab\iofun\xlsread.m
'matlab.io.spreadsheet.internal.columnLetter' not found.
isOnPath =
[]
>> version
ans =
9.0.0.341360 (R2016a)
Harm
Harm 2016 年 12 月 9 日
For me, a full deinstall and reinstall of 2016b solved this problem. The code from Steve no longer results in an empty value.

サインインしてコメントする。

採用された回答

Henrique
Henrique 2016 年 12 月 20 日
編集済み: Henrique 2016 年 12 月 20 日
Try to restore Matlab path to its default with the commands:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
I had exactly the same problem as yours and restoring the path solved it.
  3 件のコメント
linghao x
linghao x 2020 年 4 月 28 日
編集済み: linghao x 2020 年 4 月 28 日
This also solves my error:
Error using print (line 83)
Error: File: datestr.m Line: 126 Column: 8
The import statement 'import matlab.internal.datatypes.stringToLegacyText' cannot be found or cannot be imported. Imported
names must end with '.*' or be fully qualified.
Error in saveas (line 181)
print( h, name, ['-d' dev{i}] )
Error in main_v4 (line 210)
saveas(gcf,'step2wc0_effect.png');
Thanks so much!
Robert Mills
Robert Mills 2020 年 7 月 18 日
Bingo

サインインしてコメントする。

その他の回答 (1 件)

Youssef
Youssef 2017 年 6 月 30 日
I have the same issue, and used the restore commands, but now it gives me empty data file. the loading fails to bring data. Does anyone have a solution?
Thanks.
  1 件のコメント
Youssef
Youssef 2017 年 6 月 30 日
Thanks. I figure ot the error. The restore commands worked well.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by