Mask a Stateflow® block to customize appearance, parameters and documentation

You can create masks for Stateflow charts, state transition tables, and truth tables in Simulink® like other Simulink blocks. This section gives highlights for Stateflow blocks. For more complete information, see Block Masks. in the Simulink documentation.

Examples and How To

Mask a Stateflow Block

Example of masking a Stateflow block.

Look Under a Mask

Examples of looking under a mask. User menu and badge.

Draw Mask Icon

You can create icons that update when you change the mask parameters to reflect the purpose of the block.

Initialize Mask

Use MATLAB® code to initialize a block mask.


About Masks

Masking of Stateflow blocks.

Mask Editor Overview

Create and customize masks using the to Mask Editor interface.

Mask Parameters

Mask Parameters

Related Information

Was this topic helpful?