what is meant by this error" Dispatch Exception"?

3 views (last 30 days)
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?

Answers (1)

Ken Atwell
Ken Atwell on 19 May 2015
That error is coming from Excel. Try basic mode:
xlsread('extract2006.xlsx','foidev2006','','basic')
Does this fare any better?

Community Treasure Hunt

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

Start Hunting!