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.

getPositionConstraintFcn

Return function handle to current position constraint function

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

Syntax

fcn = getPositionConstraintFcn(h)

Description

fcn = getPositionConstraintFcn(h) returns a function handle fcn to the current position constraint function of the ROI object h.

Input Arguments

collapse all

ROI object, specified as an imellipse, imline, impoint, impoly, or imrect object.

Output Arguments

collapse all

Function handle, returned as a handle. For more information, see Create Function Handle (MATLAB).

Introduced in R2008a