Main Content

getPosition

Class: slmetric.dashboard.Group
Namespace: slmetric.dashboard

(To be removed) Obtain group position within Metrics Dashboard

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.

Syntax

Num = getPosition(Group)

Description

Num = getPosition(Group) returns the position of an slmetric.dashboard.Group object within an array that holds Metrics Dashboard objects. These objects are in an slmetric.dashboard.Layout or an slmetric.dashboard.Container object. The order of objects in the array corresponds to proceeding from left to right, and then down in the Metrics Dashboard.

Input Arguments

expand all

Specify the slmetric.dashboard.Group object for which you get its position in the array.

Output Arguments

expand all

Position of slmetric.dashboard.Group object within an array that holds the Metrics Dashboard objects in an slmetric.dashboard.Layout or an slmetric.dashboard.Container object.

Data Types: double

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.