| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
The rest of this chapter assumes that you know the following definitions:
Mask Icon — An icon that replaces a masked block's standard icon when the masked block appears in a model. You can accept a default icon or provide drawing code that defines the icon.
Mask Parameters — Optional parameters that link to block parameters that exist under the mask. Setting a mask parameter sets the associated block parameter.
Mask Initialization Code — Optional MATLAB code that runs when needed to initialize the masked subsystem. You can use initialization code to modify a masked subsystem to reflect current parameter values.
Mask Callback Code — Optional MATLAB code that runs whenever a mask parameter value changes. You can use callback code to modify a mask dialog box to reflect current parameter values.
Mask Documentation — Optional information that names and briefly describes the masked block, and provides Help information about how to use it.
Mask Dialog Box — A dialog box that replaces the masked block's standard parameters dialog box. The mask dialog box displays a block description, contains controls that enable a user to set mask parameter values, and provides Help information.
Mask Workspace — If the mask uses mask parameters or initialization code, it has a mask workspace that holds parameter and temporary values used by the mask.
![]() | Roadmap for Masking Blocks | Creating a Block Mask | ![]() |

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 |