I have 5 masks in a model and I want to get these parameters at once.
I can get one masks parameters by using this code
- Get mask as an object using a masked block’s path.p = Simulink.Mask.get('myModel/Subsystem');
- Get a mask parameter by using its name.param = p.getParameter('intercept');
but How can I get the all parameters of all mask at once
Best Answer