Robuta

https://www.mathworks.com/help/simulink/sfg/sssetnummodes.html ssSetNumModes - Specify the size of the block's mode vector - MATLAB SimStruct that represents an S-Function block. s modespecifysizeblockvector