| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
The Simulink Mask Editor provides the capabilities necessary for creating, changing, and removing a Subsystem, Model, or S-Function block mask. When first opened, the Mask Editor looks like this:
![]()
The Mask Editor provides four tabbed panes, which you can use to perform any masking operation:
Icon & Ports Pane — Specifies commands that draw and control the icon that represents the masked block.
Parameters Pane — Specifies mask parameters and code that executes when a parameter value changes.
Initialization Pane — Specifies code that executes as needed to initialize the mask and underlying block.
Documentation Pane — Specifies documentation that describes the block in its dialog box and in Online Help.
Use the preceding links as needed to access the Mask Editor reference. Definitions and instructions for masking a block appear in:
If the block to be masked resides in a user-defined library, you will also need the information in:
After you have defined a block mask, you can perform various operations on it, as described in:
If you want to define a mask that can use mask parameter values to dynamically change the mask's icon and dialog box, or calculate values to be used under the mask, first read the sections listed above as needed, then read:
All dynamic masking techniques require M-code programming, which is described in MATLAB Programming Fundamentals.
![]() | Masked Subsystem Example | Mask Terminology | ![]() |

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 |