Undefined function or variable

2 Ansichten (letzte 30 Tage)
Alessandro Musi
Alessandro Musi am 27 Jun. 2016
Beantwortet: Alessandro Musi am 27 Jun. 2016
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

Antworten (2)

Walter Roberson
Walter Roberson am 27 Jun. 2016
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 am 27 Jun. 2016
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