Terminate function required
Whether to generate terminate entry-point function
Model Configuration Pane: Code Generation / Interface
Description
The Terminate function required parameter specifies whether to generate a entry-point function.model_terminate
Settings
On (default) | Off- On
Enables generation of a
function. This function contains model termination code and should be called as part of system shutdown.model_terminate- Off
Disables generation of a
function. Clear this parameter if you designed your application to run indefinitely.model_terminate
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No recommendation |
Programmatic Use
Parameter: IncludeMdlTerminateFcn |
| Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced before R2006a