Main Content

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.

Categories