Undefined function or variable

I don't understand why MATLAB stopped working properly, since today. I get error undefined function, for instance
imread loads a .png file ('40_tazza.png' locate inside frames cup). It's absurd since I have properly add the path (the folders are dark blue). I swear, it was working fine until yesterday. Please help

Réponses (2)

Walter Roberson
Walter Roberson le 27 Juin 2016

0 votes

It looks to me as if your current directory might be "CG&3D" and that "CG&3D\Project2.0" might not be on your path.
Alessandro Musi
Alessandro Musi le 27 Juin 2016

0 votes

I solved, basically it was an external script that a friend of mine passed (copying from a toolbox) (angle2dcm). I simply copied the content of that script and pasted in a fresh new script (cleaning away the commented part, where the copyright was mentioned, don't think this made the difference, but still).

Community Treasure Hunt

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

Start Hunting!

Translated by