Main Content

MATLAB Classes

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

Blocchi

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

Esempi e istruzioni

Concetti

Risoluzione dei problemi

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.