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

回答(2 个)

Walter Roberson
Walter Roberson 2016-6-27

0 个投票

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 2016-6-27

0 个投票

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).

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by