Robuta

https://nl.mathworks.com/help/simulink/sfg/ssisexternalsim.html ssIsExternalSim - Determine if the model is running in external mode. - MATLAB SimStruct that represents an S-Function block. the modelrunning indetermine