Main Content

Class Definition

Implementation of MATLAB® classes

Learn techniques to define classes and class components.

  • 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
    Classes can support reference or value 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