Set the offset time of a block
time_T ssSetOffsetTime(SimStruct *S, int_T st_index, time_T offset)
Use this macro in mdlInitializeSizes or mdlInitializeSampleTimes to specify the offset of the sample time where st_index starts at 0. You must first invoke the macro ssSetSampleTime to set the sample time before assigning an offset. Otherwise, a continuous sample time is assumed and the offset is ignored.