Main Content

na_0004: Simulink model appearance settings

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Simulink model appearance settings shall conform with the project settings.

Custom Parameter

Display option

Example — View Options

On the Simulink toolstrip, these parameters are available in the Modeling tab, under Environment.

ParameterSetting
Model Browser Deselect Model Browser.
Status BarSelect Status Bar.
Toolstrip Select Toolstrip.
ZoomSelect Zoom (Normal View 100%).
Example — Block Display Options

On the Simulink toolstrip, these parameters are available in the Debug tab, under Information Overlays.

ParameterSetting
Library LinksSelect Hide All Links.
Linearization IndicatorsSelect Linearization Indicators.
Ref. Model I/O MismatchDeselect Ref. Model I/O Mismatch.
Ref. Model VersionDeselect Ref. Model Version.
Sample Time ColorsDeselect Colors.
Execution OrderDeselect Execution Order.
Example — Block Color Options

On the Simulink toolstrip, these parameters are available in the Format tab.

ParameterSetting
Background colorSelect white option from the Background list.
Foreground colorSelect black option from the Foreground list.
Example — Storage Class Indicators

To access the parameter below, On the Simulink toolstrip, open Simulink Coder™ from Apps, select C Code tab and choose Code Interface.

ParameterSetting
Storage Class IndicatorDeselect Storage Class Indicator.
Example — Signal Display Options

On the Simulink toolstrip, these parameters are available in the Debug tab, under Information Overlays.

ParameterSetting
Base Data TypesDeselect Base Data Types.
Alias Data TypesDeselect Alias Data Types.
Signal DimensionsDeselect Signal Dimensions.
TestpointSelect Test Point.
Logging and Viewer indicatorsSelect Logging & Viewers.
Nonscalar SignalsSelect Nonscalar Signals.

Rationale

Sub ID a:

  • Standard model appearance improves readability.

Verification

Model Advisor check: Check for Simulink diagrams using nonstandard display attributes (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a