Terminate code
Specify custom code to include in the generated model terminate function.
Description
Specify custom code to include in the generated model terminate function.
Category: Code Generation > Custom Code
Settings
Default: ''
Specify code to appear in the model's generated terminate function
in the
or model
.c
file.model
.cpp
Dependency
A terminate function is generated only if you select the Terminate function required check box.
Command-Line Information
Parameter: CustomTerminator |
Type: character vector |
Value: C code |
Default: '' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |