why i getting this error index exceed matrix dimensions
Mostrar comentarios más antiguos

1 comentario
Walter Roberson
el 7 de Oct. de 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.
Respuestas (1)
yanqi liu
el 8 de Oct. de 2021
0 votos
sir,may be check loc1 is or not empty
1 comentario
Walter Roberson
el 8 de Oct. de 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.
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!