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

1 回表示 (過去 30 日間)
Noa Shalgi
Noa Shalgi 2019 年 10 月 29 日
回答済み: Fabio Freschi 2019 年 10 月 29 日
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?

回答 (1 件)

Fabio Freschi
Fabio Freschi 2019 年 10 月 29 日
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

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by