EMI_GetMinimumStepSize (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_GetMinimumStepSize (EMI Function)
Owning Class: Simulation Information
Requires: Control Design and Simulation Module
Prototype
double EMI_GetMinimumStepSize(emiRef model);
Description
Returns the minimum step size, in seconds, that the ordinary differential equation (ODE) solver can use to evaluate the current simulation.
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 minimum step size, in seconds, that the ODE solver can use to evaluate the current simulation.
Examples
double minStepsize = EMI_GetMinimumStepSize(model);