Programmatic Model Editor Appearance Parameters
Use the following parameters to control how your model appears in the Simulink® editor. To query and/or modify the value of a parameter, use get_param
or set_param
.
Model Appearance Parameters
Parameter | Description | Values |
---|---|---|
| Specifies whether to display the block name as a data tip. In the Simulink Editor, in the Debug tab, select Information Overlays > Name in Tooltip. |
|
| Specifies whether to display a block parameter in a data tip. In the Simulink Editor, in the Debug tab, select Information Overlays > Parameters in Tooltip. |
|
| Specifies whether to display the user description for a block as a data tip. In the Simulink Editor, in the Debug tab, select Information Overlays > Description in Tooltip. |
|
| Show masked subsystems in the Model Browser. On the Modeling tab, select Environment > Model Browser. In the Model Browser pane, click and select Systems with Mask Parameters. |
|
| Show library links in the Model Browser. On the Modeling tab, select Environment > Model Browser. In the Model Browser pane, click and select Library Links. |
|
| For a top model that is being simulated or that is in a compiled state, return information about which Model blocks have normal mode visibility enabled. | Return values indicate which Model blocks have normal mode visibility enabled. |
| Name of font to use for new annotation text, block text, or signal
line labels and on existing annotations, block names, or signal lines
whose To set, on the Format tab, click the Font Properties button arrow, then click Fonts for Model. | character vector |
| Size of font to use for new annotation text, block text, or signal
line labels and on existing annotations, blocks, or signal lines whose
To set, on the Format tab, click the Font Properties button arrow, then click Fonts for Model. | positive integer |
| Angle of font for new annotation text, block text, or signal line
labels and on existing annotations, blocks, or signal lines whose
To set, on the Format tab, click the Font Properties button arrow, then click Fonts for Model. |
|
| Weight of font for new annotation text, block text, or signal line
labels and on existing annotations, blocks, or signal lines whose
To set, on the Format tab, click the Font Properties button arrow, then click Fonts for Model. |
|
| Hides block names given automatically by the Simulink Editor. See Hide or Display Block Names. |
|
| Specifies when to update line routing to avoid overlapping lines and obstacles in the model. When set to the default
|
|
| Show the Model Browser. In the Simulink Editor, in the Modeling tab, select Environment > Model Browser. |
|
| Use with You can set this parameter with the Model Block Normal Mode Visibility dialog box. For details, see Specify Which Instance Has Normal Mode Visibility Enabled. | With With |
| Return information about which Model blocks have normal mode visibility enabled. Use with a model that you are editing. | Return values indicate which Model blocks have normal mode visibility enabled. See Simulate Multiple Referenced Model Instances in Normal Mode. |
| When you display port data types in a model, choose whether to display data type aliases, base data types, or both. In the Simulink Editor, in the Debug tab, set by Information Overlays > Base Data Types and Information Overlays > Alias Data Types. |
|
| Highlights all the blocks in the Simulink diagram that have requirements associated with them. In the Simulink Editor, in the Apps tab, under Verification, Validation, and Test, click Requirements Viewer. The Requirements Viewer tab appears. Click Highlight Links. |
|
SampleTimeAnnotations | In the Simulink Editor, in the Debug tab, select Information Overlays > Text. |
|
| In the Simulink Editor, in the Debug tab, select Information Overlays > Colors. |
|
| Background color of the model window. In the Simulink Editor, on the Format tab, set Background. |
|
ShowAllPropagatedSignalLabels | In the Simulink Editor, in the Debug tab, select Information Overlays > Propagated Signal Labels. |
|
| Toggles linearization icons in the model. |
|
| Show signal dimensions on this model's block diagram. In the Simulink Editor, on the Debug tab, select Information Overlays > Signal Dimensions. |
|
| Highlight invalid loops graphically. |
|
| Toggles display of I/O mismatch on block. In the Simulink Editor, in the Debug tab, select Information Overlays > Ref. Model I/O Mismatch. |
|
| Toggles display of version on block. In the Simulink Editor, in the Debug tab, select Information Overlays > Ref. Model Version. |
|
| Toggles display of page boundaries on the Simulink Editor canvas. In the Simulink Editor, in the Simulation tab, select Print > Show Page Boundaries. |
|
| Show data types of ports on this model's block diagram. In the Simulink Editor, in the Debug tab, select Information Overlays > Base Data Types. |
|
| Show units of ports, subsystem, and model block icons on the model block diagram. In the Simulink Editor, in the Debug tab, select Information Overlays > Port Units. |
|
| Show storage classes of signals on this model's block diagram. In the Simulink Editor, in the Debug tab, select Information Overlays > Storage Class. |
|
| Show test point icons on this model's block diagram. In the Simulink Editor, in the Debug tab, select Information Overlays > Log & Testpoint. |
|
| Show viewer icons on this model's block diagram. In the Simulink Editor, in the Debug tab, select Information Overlays > Viewers. |
|
| Zoom factor of the Simulink Editor window expressed as a percentage of normal (100%)
or by the keywords In the Simulink Editor, on the Modeling tab, select one of the options under Environment > Zoom. |
|
| Draws lines that carry vector or matrix signals wider than lines that carry scalar signals. In the Simulink Editor, on the Debug tab, select Information Overlays > Nonscalar Signals. |
|