genvarname -> Index exceeds matrix dimensions.

2 visualizaciones (últimos 30 días)
Yuji Zhang
Yuji Zhang el 8 de Jul. de 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 comentario
Jim Hokanson
Jim Hokanson el 8 de Jul. de 2013
Editada: Jim Hokanson el 8 de Jul. de 2013
What is the output from:
which genvarname
?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de Jul. de 2013
You have defined a variable named genvarname
  1 comentario
Yuji Zhang
Yuji Zhang el 8 de Jul. de 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~

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by