I have a masked subsystem. I wish to update the mask display by calling a script from the Initialization tab. This initialization tab sets the Icon & Ports field with the SET_PARAM command and uses &1, &2 notation to access the dialog parameter fields:
lineInfo = ['fprintf(''%s Seg, Type %s\n%s\n%s\n\n\n'', &2, &1, &4, &3 );' char(10) ];set_param( theBlk, 'MaskDisplay', lineInfo );
However, when I click Apply, I recieve "???" on the mask. If I click Okay or Update Diagram, the mask resolves correctly and the ??? goes away. Why is this?
Best Answer