Main Content

Initialize code


Specify custom code to include in the generated model initialize function.

Category: Code Generation > Custom Code


Default: ''

The code generator places code inside the model's initialize function in the model.c or model.cpp file.

Command-Line Information

Parameter: CustomInitializer
Type: character vector
Value: C code
Default: ''

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics