Effacer les filtres
Effacer les filtres

genvarname -> Index exceeds matrix dimensions.

3 vues (au cours des 30 derniers jours)
Yuji Zhang
Yuji Zhang le 8 Juil 2013
Hi everyone~
I have a quite stupid question here.
genvarname doesn't work here, like this:
>> vname = genvarname ('aaa') Index exceeds matrix dimensions.
Can anyone let me know what the problem is? Thank you~
  1 commentaire
Jim Hokanson
Jim Hokanson le 8 Juil 2013
Modifié(e) : Jim Hokanson le 8 Juil 2013
What is the output from:
which genvarname
?

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Juil 2013
You have defined a variable named genvarname
  1 commentaire
Yuji Zhang
Yuji Zhang le 8 Juil 2013
Hi Walter~ me Thanks for helping~ Yes, I found I defined a variable named genvarname when I was testing the syntax. Matlab doesn't report it as a conflict...
Thank you very much~

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by