Simulink Reference    

Mask Parameters

This section lists parameters that describe masked blocks. This table lists masking parameters, which correspond to Mask Editor dialog box parameters.

Table 8-15: Mask Parameters 
Parameter
Description/Prompt
Values
Mask

Turns mask on or off.

{on} | off

MaskCallbackString

Mask parameter callbacks

delimited string

MaskCallbacks

Mask parameter callbacks

cell array

MaskDescription

Block description

string

MaskDisplay

Drawing commands

display commands

MaskEditorHandle

Mask editor figure handle (for internal use)

handle

MaskEnableString

Mask parameter enable status

delimited string

MaskEnables

Mask parameter enable status

cell array of strings, each either 'on' or 'off'

MaskHelp

Block help

string

MaskIconFrame

Icon frame (Visible is on, Invisible is off)

{on} | off
MaskIconOpaque

Icon transparency (Opaque is on, Transparent is off)

{on} | off
MaskIconRotate

Icon rotation (Rotates is on, Fixed is off)

on | {off}
MaskIconUnits

Drawing coordinates

Pixel | {Autoscale} | Normalized
MaskInitialization

Initialization commands

MATLAB command

MaskNames

MaskPrompts

Prompt (see below)

cell array of strings

MaskPromptString

Prompt (see below)

delimited string

MaskPropertyNameString

MaskSelfModifiable

Indicates that the block can modify itself.

on | {off}
MaskStyles

Control type (see below)

cell array {Edit} | Checkbox | Popup

MaskStyleString

Control type (see below)

{Edit} | Checkbox | Popup
MaskTunableValues

Tunable parameter attributes

cell array of strings

MaskTunableValue
String

Tunable parameter attributes

delimited string

MaskType

Mask type

string

MaskValues

Block parameter values (see below)

cell array of strings
MaskValueString

Block parameter values (see below)

delimited string
MaskVariables

Variable (see below)

string

MaskVisibilities

Specifies visibility of parameters

When you use the Mask Editor to create a dialog box parameter for a masked block, you provide this information:

The mask parameters, listed in the table on the previous page, store the values specified for the dialog box parameters in these ways:


  Block-Specific Parameters Model File Format