SIM_SolverGetNumContinuousStates (ESI Function)
- Updated2023-03-14
- 1 minute(s) read
SIM_SolverGetNumContinuousStates (ESI Function)
Owning Class: Solver API
Requires: Control Design and Simulation Module
Prototype
long SIM_SolverGetNumContinuousStates(SIM_Solver *solver);
Description
Returns the number of continuous states of the model.
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 number of continuous states of the model.
Examples
long numContinuousStates = SIM_SolverGetNumContinuousStates(solver);