Main Content

model_Init

Generated C/C++ function that contains part of the initialization code for referenced Simulink models

Description

void model_Init(void) is a C or C++ function generated for referenced Simulink® models. model_Init is invoked by other generated functions as part of the initialization of the model, such as the initialization of state conditions. It does not appear in the Code Mappings editor and cannot be customized. Do not confuse model_Init with model_initialize.

Version History

Introduced before R2006a