Main Content

MATLAB Classes

Definition and use of MATLAB® classes, differences for code generation

Blöcke

MATLAB FunctionInclude MATLAB code in models that generate embeddable C code
MATLAB SystemInclude System object in model

Beispiele und Gewusst wie

Konzepte

Fehlersuche

Class Does Not Have Property

Troubleshoot issues with assignment of a property of a handle class.

Handle Object Limitations for Code Generation

Adhere to code generation restrictions for handle objects.

Passing By Reference Not Supported for Some Properties

You cannot use certain properties with coder.ref, coder.rref, or coder.wref.