what is meant by this error" Dispatch Exception"?

3 vues (au cours des 30 derniers jours)
Amr Hashem
Amr Hashem le 18 Mai 2015
Commenté : Walter Roberson le 19 Mai 2015
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 commentaire
Walter Roberson
Walter Roberson le 19 Mai 2015
The translation is "Outside the current scope"

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by