Some erros disappear when I reboot Matlab, for example: "Too many input arguments." or "no appropriate method, property, or field" for class
I'm working with classes. For example class A call to class B, and there's an error in class B. I fixed the error in class B, save B, and run again de class A (class A call class B) but STILL THERE'S THE ERROR in class B. Then I have to reboot Matlab to reload the changes in B.
I can't run class B because needs input arguments, that's why I use class A to call B.
I try with "clear all; close all;" but the errors persist until I reboot Matlab.
What can I do?

 採用された回答

Friedrich
Friedrich 2012 年 3 月 13 日

1 投票

Hi,
try a
clear classes
after you modified your class.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by