Finalize (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
Finalize (ESI Function)
Owning Class: Callback API
Requires: Control Design and Simulation Module
Prototype
SIM_Error Finalize(SIM_Solver *solver);
Description
Performs any tasks you want to complete after the simulation finishes. For example, during the execution of this function, you can release any memory you allocated during the Initialize function.
Inputs
| Name | Description |
|---|---|
| solver | Specifies a reference to the external ODE solver. Use this reference as an input to other ESI functions. Do not modify solver directly. |
Return Value
Returns the error condition for this function.