EMI_GetLimitResults (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_GetLimitResults (EMI Function)
Owning Class: Continuous States
Requires: Control Design and Simulation Module
Prototype
const emiLimitType* EMI_GetLimitResults(emiRef model);
Description
Returns a pointer to the limit results of the continuous states at the current time step. The limit results indicate whether each continuous state reached an upper limit, a lower limit, or no limit. This function returns the limit results as an emiLimitType data type.
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 a pointer to the limit results of the continuous states at the current time step.
Examples
const emiLimitType* limitResults = EMI_GetLimitResults(model);