Main Content

Structures

Definition and supported structure operations

You can define variables in MATLAB Function and MATLAB System blocks as structures.

Blocks

MATLAB FunctionInclude MATLAB code in Simulink models
MATLAB SystemInclude System object in model

Functions

coder.cstructnameName generated or externally defined structure type in C or C++ code

Topics