Main Content
Define Classes
Implementation of MATLAB® classes
Learn techniques to define classes and class components. For an example of a class that demonstrates several basic object-oriented techniques in MATLAB, see Creating a Simple Class.
Categories
- Class File Organization
Class syntax, attributes, and organization in files and folders
- Properties
Property declaration, attributes, and access methods
- Methods
Method syntax, attributes, and purpose
- Handle Classes
Handle classes support reference semantics
- Events
Define and trigger events; create listeners that respond to events
- Class Hierarchies
Syntax and application of class hierarchies
- Enumerations
Fixed set of names representing a single type of value