why i getting this error index exceed matrix dimensions
Ältere Kommentare anzeigen

1 Kommentar
Walter Roberson
am 7 Okt. 2021
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.
Antworten (1)
yanqi liu
am 8 Okt. 2021
0 Stimmen
sir,may be check loc1 is or not empty
1 Kommentar
Walter Roberson
am 8 Okt. 2021
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.
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!