Initialize function

Description

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

Category: Code Generation > Custom Code

Settings

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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics