EMI_IsMinorStep (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_IsMinorStep (EMI Function)
Owning Class: Simulation Information
Requires: Control Design and Simulation Module
Prototype
char EMI_IsMinorStep(emiRef model);
Description
Checks whether the current time step of the simulation is a minor time step.
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 non-zero value if the current time step of the simulation is a minor time step. Otherwise, this function returns 0.
Examples
char isMinorStep = EMI_IsMinorStep(model);