getLabelTextFormatter

Return format of text label of Distance tool

getLabelTextFormatter is not recommended. Use one of the ROI classes instead, described in ROI Creation Overview.

Description

str = getLabelTextFormatter(h) returns a character array specifying the format used to display the label text of the Distance tool, h.

Input Arguments

collapse all

Distance tool, specified as an imdistline object.

Output Arguments

collapse all

Text format of Distance tool label, returned as a character array in a format expected by sprintf.

Introduced before R2006a