EMI_GetNumberOfContinuousStates (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_GetNumberOfContinuousStates (EMI Function)
Owning Class: Continuous States
Requires: Control Design and Simulation Module
Prototype
unsigned int EMI_GetNumberOfContinuousStates(emiRef model);
Description
Returns the number of continuous states for an external model.
Inputs
| Name | Description |
|---|---|
| model | Specifies a reference to the external model. Use this reference as an input to other EMI functions. Do not modify model directly. |
Return Value
Returns the number of continuous states for the model.
Examples
unsigned int numStates = EMI_GetNumberOfContinuousStates(model);