Writing S-Functions | ![]() ![]() |
Get the number of continuous states that a block has.
C Syntax
int_T ssGetNumContStates(SimStruct *S)
Ada Syntax
function ssGetNumContStates(S : in SimStruct) return Integer;
Arguments
S
SimStruct representing an S-function block or model.
Description
Returns the number of continuous states in the block or model represented by S.You can use this macro in any routine except mdlInitializeSizes
.
Languages
See Also
ssSetNumContStates,
ssGetNumDiscStates, ssGetContStates
![]() | ssGetNonsampledZCs | ssGetNumDataTypes | ![]() |