It is possible to change the sample time using this code witin the initialization section of the mask (the mask is on a subsystem and the step input is within the subsystem):
TheBlock = gcb;
set_param([TheBlock '/Step'],'sampletime','3')
But when trying to use the equivalent code to change the step time, it does not work.
set_param([TheBlock '/Step'],'steptime','3')
Does anyone have any suggestions
Best Answer