why do i get ylabel error?
Afficher commentaires plus anciens
Réponses (1)
Star Strider
le 13 Juil 2022
0 votes
The error shown, that the string is interpreted as an index leads me to believe that you have a variable named ‘ylabel’ and MATLAB is attempting to index into it.
The solution is to re-name the variable to something similar that makes sense in the context of the code and does not overshadow any MATLAB function names.
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
