MATLAB: Class constructor induces “Matlab stopped working”

class constructorcrashmemory leakobject-orientedwindows 7

Upon execution of a (custom) class constructor, Windows 7, informs the user that "MatLab has stopped working". The constructor has as inputs objects from another custom class. All classes mentioned above are of subclass of handle.
The individual base classes do not appear to be corrupt.

Best Answer

Matlab corrupted the class file, after restarting + deleting the file + copying into a new m-file with a different name, problem is resolved.