Undefined function or variable

조회 수: 5 (최근 30일)
Naema
Naema 2014년 12월 8일
편집: Naema 2014년 12월 8일
Hi matlab users: I was trying to run a code in which I loaded a .mat file called cefff10.mat. I had this error mentioned in the title and I am sure the .mat exists in the same folder as the code and the its name is written correctly with lowercase letters, what could be the problem? I am so confused, any help? thanks
  댓글 수: 5
Naema
Naema 2014년 12월 8일
편집: Naema 2014년 12월 8일
here is what I got:
Name Size Bytes Class Attributes
Ceff10 1x50 400 double
Naema
Naema 2014년 12월 8일
편집: Naema 2014년 12월 8일
oh, it turned out that the mat file is still named with the previous name even though I changed its name. I fixed this issue by keeping its previous name Ceff10 not Cefff10.

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

채택된 답변

Star Strider
Star Strider 2014년 12월 8일
MATLAB is case-sensitive, so ceff10 is not the same as Ceff10. Change all references from ceff10 to Ceff10 and you shouldn’t have any more problems with it. Check your other variables as well.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by