Undefined function or variable

1 次查看(过去 30 天)
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