Creating a mask for Stateflow® charts, state transition tables, and truth tables simplifies using and sharing blocks. The mask encapsulates the block by hiding the underlying logic and creates a user interface for the block. You can customize the block by:
Changing the appearance with meaningful icons and ports.
Creating a user interface for parameters.
Adding customized documentation.
You decide which parameters can be changed through the mask user interface. You can provide meaningful descriptions of these parameters.
Masking a Stateflow block is the same as masking other Simulink® blocks. For more information about masking in Simulink, see Masking.