In the model maskedinport.mdl below, I specify the "Bus object for validating input bus" parameter for the Inport to be a BusObject in the MATLAB workspace and then mask the Inport. After opening the model, I receive the following error when I update the diagram using Ctrl+D:
Simulink.Datatype object 'myBus' is not in scope from 'maskedinport/In1'.
However, if I look under the mask and reenter the value myBus into this field, I no longer receive this error.
Best Answer