Programming Previous page   Next Page

MATLAB Data Class Hierarchy

All MATLAB data types are designed to function as classes in object-oriented programming. The diagram below shows the fifteen fundamental data types (or classes) defined in MATLAB. You can add new data types to MATLAB by extending the class hierarchy.

The diagram shows a user class that inherits from the structure class. All classes that you create are structure based since this is the point in the class hierarchy where you can insert your own classes. (For more information about MATLAB data types, see Data Types.)


Previous page  Features of Object-Oriented Programming Creating Objects Next page

© 1994-2005 The MathWorks, Inc.