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.

1 件のコメント

Alessandro Musi
Alessandro Musi 2016 年 6 月 27 日
I did this
nothing's changed

サインインしてコメントする。

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

カテゴリ

タグ

質問済み:

2016 年 6 月 27 日

回答済み:

2016 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by