subscript mismatch
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
am calling multiple functions, feeding 3D matrix. one of the functions returns subscript mismatch. "matrix dimension subscript mismatch" solution probably seems obvious to all but me. thanks for any help!
2 commentaires
Réponses (2)
Jan
le 6 Juin 2011
Obi Wan is not logged in currently.
Use:
dbstop if all error
to find the line, which causes the problem. Then inspect the size of the variables and the indices of the left-hand and right-hand side.
0 commentaires
Jonas Reber
le 6 Juin 2011
you try to assign/access with wriong dimensions... most likely you forgot a :
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!