Classes
Create new types of objects to use in MATLAB® using object-oriented programming
Creating classes can simplify programming tasks that involve specialized data structures or large numbers of functions that interact with special kinds of data.
MATLAB classes support function and operator overloading, controlled access to properties and methods, reference and value semantics, and events and listeners.
Introduction to Object-Oriented Programming with MATLAB
Categories
- Define Classes
Implementation of MATLAB classes
- Sample Class Implementations
MATLAB classes showing programming patterns and techniques
- Construct and Work with Object Arrays
Object array construction and concatenation; heterogeneous arrays
- Class Customization
Customize behavior of object indexing, array formation, display, and the save and load operations
- Debug and Develop Classes
Edit and debug class definitions, automatic class updates
- Class Introspection and Metadata
Get detailed information about classes from class metadata
- System Objects
Model dynamic systems and process streamed data using objects in system toolboxes