| Writing S-Functions | ![]() |
Get the address of a block's continuous state vector.
Ada Syntax
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
| ssGetBlockReduction | ssGetContStates | ![]() |