Class Syntax Fundamentals

Quick reference guide to all syntax used to define MATLAB® classes and class members, including example classes

MATLAB Language Syntax

classdef Class definition keywords


class Determine class of object
isa Determine if input is object of specified class
isequal Determine array equality
isobject Determine if input is MATLAB object
enumeration Display class enumeration members and names
events Event names
methods Class method names
properties Class property names

Examples and How To

Was this topic helpful?