Robuta

https://au.mathworks.com/help/simulink/sfg/ssgetbuselementoffset.html ssGetBusElementOffset - Get the offset from the start of the bus data type to a bus element - MATLAB SimStruct that represents an S-Function block