Writing S-Functions Previous page   Next Page
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


Previous page  ssGetStopRequested ssGetTaskTime Next page

© 1994-2005 The MathWorks, Inc.