Writing S-Functions | ![]() ![]() |
Get the address of a block's continuous states.
Ada Syntax
ssGetContStateAddress(S : in SimStruct) return System.Address
Arguments
S
SimStruct representing an S-function block.
Description
Can be used in the simulation loop, mdlInitializeConditions
, or mdlStart
routines to get the address of the S-function's continuous state vector. This vector has length ssGetNumContStates(S)
. Typically, this vector is initialized in mdlInitializeConditions
and used in mdlOutputs
.
Languages
See Also
ssGetNumContStates, ssGetRealDiscStates, ssGetdX, mdlInitializeConditions, mdlStart
![]() | ssGetAbsTol | ssGetContStates | ![]() |