EMI_GetDerivatives (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_GetDerivatives (EMI Function)
Owning Class: Continuous States
Requires: Control Design and Simulation Module
Prototype
double* EMI_GetDerivatives(emiRef model);
Description
Returns a pointer to the derivatives of the continuous states of an external model. Use the EMI_CB_CalculateDerivatives function to calculate the derivatives.
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 derivatives of the continuous states of the model.
Examples
double *derivs = EMI_GetDerivatives(model);