Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

Masking a Model Block

You can use all techniques described in Roadmap for Masking Blocks to mask a model block, with one special requirement. If a mask specifies the name of the model referenced by a Model block, or by any Model block in a masked subsystem, the name of the referenced model must be given literally, rather than obtained by evaluating a workspace variable. This requirement exists because Simulink updates model reference targets before evaluating block parameters. Two ways to enforce the requirement are:

See Defining Mask Parameters for information about defining Pop-Up and Edit controls.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS