Return function handle to current position constraint function

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


fcn = getPositionConstraintFcn(h)


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