Get the current simulation time
time_T ssGetT(SimStruct *S)
SimStruct representing an S-Function block.
A value of type
time_T indicating the current
Use to determine the current base simulation time (
for the model. You can use this macro in
compute the output of your block. See
a description of the
time_T data type.
Use this macro only if your block operates at the base rate
of the model, for example, if your block operates at a single continuous
rate. If your block operates at multiple rates or operates at a single
rate that is different from the model's base, use