Main Content

Object-Oriented Design with MATLAB

Object-oriented concepts related to MATLAB® programming

Learn when to use object-oriented techniques, how handle objects behave, and how MATLAB compares to other languages.


Why Use Object-Oriented Design

MATLAB enables you to use object-oriented programming techniques for application development.

Role of Classes in MATLAB

All MATLAB variables are instances of a class. User-defined classes can create new types of variables.

Handle Object Behavior

MATLAB handle variables support reference semantics.

Operations on Objects

MATLAB defines functions that enable you to interact with objects.

Comparison of MATLAB and Other OO Languages

MATLAB and other object-oriented languages have similarities and differences.

Compatibility with Previous Versions

Prior to MATLAB version 7.6, MATLAB classes used different syntax.