Main Content

Create Block Masks

Create customized appearance, create user–defined interface, encapsulate logic, and hide data for subsystems and custom blocks

金宝app®enables you to create block masks. A mask is a custom user interface for a block.

By masking a block you encapsulate the block diagram to have its own parameter dialog box with its own block description, parameter prompts, and help texts.

You can mask an independent custom block that you can reuse as unique blocks like those defined in Simulink.

To know about creating a block mask, seeCreate a Simple Mask.

Classes

Simulink.Mask Control masks programmatically
Simulink.Mask.Constraints Create Mask Constraint
Simulink.Mask.PortConstraints 通过编程方式创建面具端口限制
Simulink.Mask.ParameterCondition Create mask parameter conditions
Simulink.Mask.PortConstraintRule Create an instance ofSimulink.Mask.PortConstraintRuleto define the rules of a Port Constraint
Simulink.Mask.PortIdentifier Create Port Identifiers to identify ports of a block in the mask object
Simulink.MaskParameter Control mask parameters programmatically
Simulink.Mask.EnumerationBase Derive an enumeration class to hold numeric values of any datatype
Simulink.Mask.EnumerationTypeOptions Parse information from enumeration file derived fromSimulink.IntEnumTypeandSimulink.Mask.EnumerationBase
Simulink.dialog.Control Create instances of dialog control
Simulink.dialog.parameter.CustomTable Create custom tables programmatically
Simulink.dialog.ListboxControl Control list box programmatically
Simulink.dialog.TreeControl 以编程的方式控制树控件
Simulink.dialog.LookupTableControl Control mask lookup tables programmatically
Simulink.dialog.LookupTableControl.Table Control table data for mask lookup table
Simulink.dialog.LookupTableControl.Breakpoints Control breakpoint data set for mask lookup table

Topics

Introduction to Masking

Mask Editor User Interface

Masking Features

Mask Callbacks

System Mask

Example Models