Class Customization - MATLAB & Simulink (original) (raw)
Main Content
Customize behavior of object indexing, array formation, display, and the save and load operations
Objects of user-defined classes share the same behaviors as objects of built-in classes. You can customize many aspects of these behaviors to satisfy specific requirements of your class design. For example, you can define addition for objects of your class.
Categories
- Methods That Control Specific Behaviors
Classes can overload functions to control specific behaviors and operations - Customize Object Display for Classes
Customize how MATLABĀ® displays objects of your class in the command window - Object Save and Load
Customize the object save and load process - Customize Object Indexing
Customize indexed reference and assignment for your class