xlsread error after updating to 2016b
Mostra commenti meno recenti
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 Commenti
Steven Lord
il 20 Set 2016
What is the output of the following commands?
which -all xlsread
which -all matlab.io.spreadsheet.internal.columnLetter
CL = which('matlab.io.spreadsheet.internal.columnLetter');
P = path;
pCL = fileparts(CL);
packagepart = findstr(CL, '+matlab');
if ~isempty(CL)
CL = CL(1:packagepart-2);
end
isOnPath = strfind(P, CL)
Angelo (Scotty) Gilmore
il 28 Set 2016
Modificato: per isakson
il 5 Dic 2016
I am getting the same error on something which used to work fine. I ran the code Steven Lord posted and this is what I got:
which -all xlsread
which -all matlab.io.spreadsheet.internal.columnLetter
CL = which('matlab.io.spreadsheet.internal.columnLetter');
P = path;
pCL = fileparts(CL);
packagepart = findstr(CL, '+matlab');
if ~isempty(CL)
CL = CL(1:packagepart-2);
end
isOnPath = strfind(P, CL)
C:\Program Files\MATLAB\R2016b\toolbox\matlab\iofun\xlsread.m
'matlab.io.spreadsheet.internal.columnLetter' not found.
isOnPath =
[]
Jeremy Hughes
il 29 Set 2016
This sounds like an installation issue. A fresh reinstall of MATLAB will likely fix the issue. If that doesn't work, you should contact support.
Harm
il 5 Dic 2016
Hi, got the same issue on my 2016b. 2016a works fine. Can anyone confirm the reinstall is the fix for this?
per isakson
il 5 Dic 2016
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
il 9 Dic 2016
For me, a full deinstall and reinstall of 2016b solved this problem. The code from Steve no longer results in an empty value.
Risposta accettata
Più risposte (1)
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!