| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
| On this page… |
|---|
You can change an existing mask by reopening the Mask Editor and using the same techniques that you used to create the mask:
Select the masked block.
Choose Edit Mask from the Edit menu or the block's context menu.
The Mask Editor reopens, showing the existing mask definition. Change the mask as needed. After you change a mask, be sure to save the model before closing it, or the changes will be lost.
To display a masked block's Mask Parameters dialog box, either double-click the block or select it and choose Mask Parameters from the Edit menu or the block's context menu.
To display the Block Parameters dialog box that double-clicking would display if no mask existed, select the masked block and choose BlockType Parameters from the Edit menu or the block's context menu.
To see the block diagram under a masked Subsystem block, or the model referenced by a masked Model block, select the block and choose Look Under Mask from the Edit menu or the block's context menu. The block diagram or referenced model opens in a separate window.
To remove a mask from a block and cache it for possible restoration later:
Select the block.
Choose Edit Mask from the Edit menu or the block's context menu.
The Mask Editor opens and displays the existing mask, for example:
![]()
Click Unmask in the lower left corner of the Mask Editor.
The Mask Editor removes the mask from the block, saves the mask in a cache for possible restoration, then closes. The editor caches masks separately for each block, so removing a mask from one block has no effect on a mask cached for any other block. Closing the Mask Editor has no effect on cached masks.
When you have removed and cached a mask, you can later restore it, as described in Restoring a Cached Mask, or delete it, as described in Permanently Deleting a Mask. The removed cached mask has no further effect unless you restore it.
As long as a model remains open, you can restore a mask that you removed as described in Removing and Caching a Mask.
Select the block.
Choose Mask BlockType from the Edit menu or the block's context menu.
The Mask Editor reopens, showing the cached masked definition.
Modify the definition if needed, using the techniques in Roadmap for Masking Blocks.
Click Apply or OK to restore the mask, including any changes that you made.
If you made any changes, be sure to save the model before closing it, or the changes will be lost.
To delete a mask permanently, first remove it as described in Removing and Caching a Mask, then save and close the model. You do not need to close the model immediately after removing a mask that you intend to delete. The removed mask remains in the cache and has no further effect unless you restore it.
![]() | Masks on Blocks in User Libraries | Roadmap for Dynamic Masks | ![]() |

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 |