Main Content

CallbackContext property

Specify when to run check

Values

'PostCompileForCodegen'
'PostCompile'
'None' (default)

Description

The CallbackContext property specifies the context for checking the model or subsystem.

'None'

No special requirements for the model before checking.

'Postcompile'

The model is compiled and simulated. Use this option for checks that analyze simulated models.

'PostCompileForCodegen'

The model is compiled for code generation, but is not simulated. Use this option to check the code generation readiness of a model and to analyze both active and inactive variant paths. To analyze both active and inactive variants, you must set the System target file configuration parameter to ert.tlc. Note, this property value is not supported for custom edit-time checks.