Main Content

Debug and Develop Classes

Edit and debug class definitions, automatic class updates

MATLAB® reloads class definitions in response to most revisions. You do not need to call clear classes after making revisions. If MATLAB is unable to update existing objects to support the revised class definition, clear only those objects.


editEdit or create file


Class Diagram ViewerCreate diagrams to investigate class details and hierarchies (Since R2021a)


matlab.diagram.ClassViewerCreate class diagrams in Class Diagram Viewer app (Since R2021a)