getPositionConstraintFcn

Return function handle to current position constraint function

getPositionConstraintFcn is not recommended. With the new ROIs, use the DrawingArea property instead. For more information, see Compatibility Considerations.

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).

Compatibility Considerations

expand all

Not recommended starting in R2018b

Introduced in R2008a