Undefined function or variable

1 Ansicht (letzte 30 Tage)
Naema
Naema am 8 Dez. 2014
Bearbeitet: Naema am 8 Dez. 2014
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 Kommentare
Naema
Naema am 8 Dez. 2014
Bearbeitet: Naema am 8 Dez. 2014
here is what I got:
Name Size Bytes Class Attributes
Ceff10 1x50 400 double
Naema
Naema am 8 Dez. 2014
Bearbeitet: Naema am 8 Dez. 2014
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 8 Dez. 2014
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.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by