Robuta

https://se.mathworks.com/help/simulink/sfg/ssgetelapsetimecounter.html ssGetElapseTimeCounter - Get the integer value of the elapse time counter associated with the... SimStruct that represents an S-Function block. get theintegervalue