why i getting this error index exceed matrix dimensions

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 10 月 7 日
Unfortunately you did not show us the value locl(1) and you did not show us the code used to assign to locl(1) . All we can say is that whatever value locl(1) is, it is greater than 77.

サインインしてコメントする。

回答 (1 件)

yanqi liu
yanqi liu 2021 年 10 月 8 日

0 投票

sir,may be check loc1 is or not empty

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 10 月 8 日
I was morally convinced that there was an error message about the limit being 77, but when I look again I was mistaken. Your point that locl might be empty is a good one.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

リリース

R2017b

質問済み:

2021 年 10 月 7 日

コメント済み:

2021 年 10 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by