Robuta

https://nl.mathworks.com/help/simulink/sfg/ssgetoutputportwidth.html ssGetOutputPortWidth - Get the width of an output port - MATLAB SimStruct that represents an S-Function block. get thewidthoutputportmatlab