Robuta

https://au.mathworks.com/help/simulink/sfg/ssgetdworkname.html ssGetDWorkName - Get the name of a Dwork vector - MATLAB SimStruct that represents an S-Function block. get theof anamedworkvector