Robuta

https://nl.mathworks.com/help/simulink/sfg/ssgetinputportoverwritable.html ssGetInputPortOverWritable - Determine whether an input port can be overwritten - MATLAB SimStruct that represents an S-Function block. can bedeterminewhetherinputport