index in position 2 exceeds array bounds ( must not exceed 1).

1 vue (au cours des 30 derniers jours)
Noa Shalgi
Noa Shalgi le 29 Oct 2019
I'm trying to change the files in a code that I use regularly. The files are excel sheets, and I changed them to different ones, but now the code isn't running.
The error that is written is " index in position 2 exceeds array bounds ( must not exceed 1).
Do you have any suggestion as to why this problem has occured after changing the files?

Réponses (1)

Fabio Freschi
Fabio Freschi le 29 Oct 2019
Difficult to say without file, code, etc.
The wizard says that the new excel file has only one column, but the code expects two columns

Catégories

En savoir plus sur Matrix Indexing 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