Main Content

setSeparators

Class: slmetric.dashboard.Widget
Namespace: slmetric.dashboard

(To be removed) Specify lines on Metrics Dashboard widget sides

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.

Description

setSeparators(S) specifies whether there are lines on the sides of an slmetric.dashboard.Widget object.

Input Arguments

expand all

The input is a structure array consisting of these fields:

  • S.top

  • S.bottom

  • S.left

  • S.right

Each field must be set to 1 or 0. A value of 1 indicates that there is a line on that widget side. A value of 0 indicates that there is no line on that widget side. To indicate that the widget sides are always the same even if the screen size changes, you can pass one structure. Passing four structures indicates that the widget sides can have different separators as the screen width size changes. Use the setWidths method to specify up to four different widths.

Data Types: char

Version History

Introduced in R2018b

collapse all

R2022a: Metrics Dashboard will be removed

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.