Index in position 2 exceeds array bounds.
Afficher commentaires plus anciens
I am getting this error for following code to export the the data from graph.

7 commentaires
KSSV
le 4 Déc 2022
Check the size of the variable num.
whos num
It seems, num is only a array with once column.
Venkata
le 4 Déc 2022
Venkata
le 4 Déc 2022
Venkata
le 4 Déc 2022
Dyuman Joshi
le 4 Déc 2022
The variable num is empty, as it shows in its size. You can't access any elements from it.
Check if the excel file is empty or not. What are the contents of the excel file?
Venkata
le 4 Déc 2022
Jan
le 4 Déc 2022
Well, yes, of course you should use an Excel file with values.
Réponses (0)
Catégories
En savoir plus sur Data Import from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!