Robuta

https://au.mathworks.com/help/simulink/sfg/ssgetmodevectorvalue.html ssGetModeVectorValue - Get an element of a block's mode vector - MATLAB SimStruct that represents an S-Function block. get ans modeelement