Main Content

Structures

R2026b
Definition and supported structure operations

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

Blocks

MATLAB Function block icon.MATLAB FunctionInclude MATLAB code in Simulink models
MATLAB System blockMATLAB SystemInclude System object in model

Functions

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

Topics