Main Content

setHeight

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

(To be removed) Specify height of Metrics Dashboard widget

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

setHeight(widget,num) specifies the height of a widget in pixels.

Input Arguments

expand all

slmetric.dashboard.Widget for which you want to specify its height.

Height of slmetric.dashboard.Widget object in pixels. These are the minimum heights that you can set.

  • For the SystemInfo widget, the minimum height is 90 pixels.

  • For the LibraryReuse widget, the minimum height is 110 pixels.

  • For the GlocalInterface widget, the minimum height is 60 pixels.

Example: setHeight(widget, 70)

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.