MATLAB: Class object won’t delete if it has a timer property

classdeletehandleMATLABpropertytimer

Best Answer

timers are handle semantics, and so live on when any variable they are assigned to goes out of scope.
Perhaps onCleanup() would help for you ?