Get the derivatives of a block's continuous states
real_T *ssGetdX(SimStruct *S)
SimStruct representing an S-Function block or Simulink® model.
A pointer (
real_T *) to an array containing
the derivatives of the continuous states of
which can be a block or the model. Returns
there are no continuous states.
Use this macro in
get the derivatives of a model or block's continuous states. Use
get the length of the array.
Note The pointer returned by this macro changes as the solver evaluates different integration stages to compute the integral.