Writing S-Functions    
ssGetdX

Get the derivatives of a block's continuous states.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

Description

Returns a pointer to an array containing the continuous states of S, which can be a block or the model. Use ssGetNumContStates(S) to get the length of the array. Use this macro in mdlDerivatives to get the derivatives of a model or block's continuous states.

Languages

C

See Also
ssGetNumContStates, ssGetContStates


  ssGetDWorkWidth ssGetErrorStatus