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

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)

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

Asked:

on 29 Oct 2019

Answered:

on 29 Oct 2019

Community Treasure Hunt

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

Start Hunting!