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