Terminate function required - Whether to generate terminate entry-point function - MATLAB (original) (raw)
Main Content
Whether to generate terminate entry-point function
Model Configuration Pane: Code Generation / Interface
Description
The Terminate function required parameter specifies whether to generate a _`model`__terminate
entry-point function.
Settings
On
(default) | Off
On
Enables generation of a _`model`__terminate
function. This function contains model termination code and should be called as part of system shutdown.
Off
Disables generation of a _`model`__terminate
function. Clear this parameter if you designed your application to run indefinitely.
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