| Writing S-Functions | ![]() |
Get the current simulation time.
C Syntax
Ada Syntax
Arguments
S
SimStruct representing an S-Function block.
Description
Returns the current base simulation time (time_T) for the model. You can use this macro in mdlOutputs and mdlUpdate to compute the output of your block.
Languages
See Also
ssGetTaskTime, ssGetTStart, ssGetTFinal
| ssGetStopRequested | ssGetTaskTime | ![]() |