Writing S-Functions    
ssGetT

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

Ada, C

See Also
ssGetTaskTime, ssGetTStart, ssGetTFinal


  ssGetStopRequested ssGetTaskTime