Specify whether to generate the
function.model
_terminate
Category: Code Generation > Interface
Default: on
Generates a
function. This function contains model termination code and should be called as part
of system shutdown.model
_terminate
Does not generate a
function. Suppresses the generation of this function if you designed your application
to run indefinitely and does not require a terminate function.model
_terminate
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Parameter:
IncludeMdlTerminateFcn |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |