Documentation

Creating Classes

Create new types of objects to use in MATLAB®

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.

Was this topic helpful?