Programming |
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.)
Features of Object-Oriented Programming | Creating Objects |
© 1994-2005 The MathWorks, Inc.