This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Return format of text label of Distance tool

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


str = getLabelTextFormatter(h)


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