Robuta

https://au.mathworks.com/help/simulink/sfg/sssetzerobasedindexinputport.html ssSetZeroBasedIndexInputPort - Specify that an input port expects zero-based indices - MATLAB SimStruct that represents an S-Function block. specifyinput