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

1 view (last 30 days)
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?

Answers (1)

Fabio Freschi
Fabio Freschi on 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

Community Treasure Hunt

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

Start Hunting!