genvarname -> Index exceeds matrix dimensions.

조회 수: 3 (최근 30일)
Yuji Zhang
Yuji Zhang 2013년 7월 8일
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
Jim Hokanson
Jim Hokanson 2013년 7월 8일
편집: Jim Hokanson 2013년 7월 8일
What is the output from:
which genvarname
?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2013년 7월 8일
You have defined a variable named genvarname
  댓글 수: 1
Yuji Zhang
Yuji Zhang 2013년 7월 8일
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~

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by