Main Content
Terminate code
Description
Specify C/C++ code to execute at the end of simulation.
Category: Simulation Target
Settings
Default: ' '
Tip
Use this code to invoke functions that free memory allocated by the custom code or to perform other cleanup tasks.
Command-Line Information
Parameter:
SimCustomTerminator |
Type: character vector |
Value: any C code |
Default:
'' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No recommendation |
Traceability | No recommendation |
Efficiency | No recommendation |
Safety precaution | No recommendation |