Using Simulink |
 |
Chapter 7
Using Masks to Customize Blocks
Introduction
Masking is a powerful Simulink feature that enables you to customize the dialog box and icon for a subsystem. With masking, you can:
- Simplify the use of your model by replacing many dialog boxes in a subsystem with a single one. Instead of requiring the user of the model to open each block and enter parameter values, those parameter values can be entered on the mask dialog box and passed to the blocks in the masked subsystem.
- Provide a more descriptive and helpful user interface by defining a dialog box with your own block description, parameter field labels, and help text.
- Define commands that compute variables whose values depend on block parameters.
- Create a block icon that depicts the subsystem's purpose.
- Prevent unintended modification of subsystems by hiding their contents behind a customized interface.
- Create dynamic dialogs.
| trim | | A Sample Masked Subsystem |  |