Robuta

https://au.mathworks.com/help/simulink/sfg/ssgetdworkusedasdstate.html ssGetDWorkUsedAsDState - Determine whether a Dwork vector is used as a discrete state vector -... SimStruct that represents an S-Function block. determinewhetherdwork