Robuta

https://nl.mathworks.com/help/simulink/sfg/gsl_firstreg.html gsl_FirstReg - Get the first region of an element in a signal list - MATLAB SimStruct that represents an S-Function block.