MATLAB: Unable to clear classes

chicken-and-eggclassclear classeshandle classoopoop bugs

At times I am unable to clear classes in Matlab without restarting the program. This seems to be related to errors being thrown in the class. In other words, following an error I might make a change to the class and then call "clear classes" to reset everything. Also, since 95% of the time I am working with handle classes, this may be handle class related.
Some issues I have run across that I know are not currently the problem are: 1) storage of the class in a figure which is still open 2) the default value of a property being a class
Thanks, Jim

Best Answer

This is a bug:
It has been fixed in 2013a