what is meant by this error" Dispatch Exception"?
2 次查看(过去 30 天)
显示 更早的评论
Invoke Error, Dispatch Exception
when i running a code to open a excel sheet it gives me this error
Invoke Error, Dispatch Exception: خارج النطاق الحالي.
Error in xlsreadCOM (line 64)
rawData = DataRange.Value;
Error in xlsread (line 230)
[numericData, textData, rawData, customOutput] = xlsreadCOM(file, sheet, range,
Excel, customFun);
Error in data2222 (line 4)
[ndata1 text1 alldata1] = xlsread('extract2006.xlsx','foidev2006');
what does this mean & how i can solve?
回答(1 个)
Ken Atwell
2015-5-19
That error is coming from Excel. Try basic mode:
xlsread('extract2006.xlsx','foidev2006','','basic')
Does this fare any better?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!