genvarname -> Index exceeds matrix dimensions.

2 views (last 30 days)
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~

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!