hover(testcase,comp,location)
specifies the location to hover at within the component. If you do not specify the location,
MATLAB® hovers at the center of comp.
testcase — Instance of test case matlab.uitest.TestCase object
Instance of test case, specified as a matlab.uitest.TestCase
object.
comp — Component to hover UI component object
Component to hover on during test, specified as a UI component object that supports
a hover gesture. Components that support hover gestures include Axes,
UIAxes, PolarAxes, Panel, and
Figure objects.
location — Location to hover at 1-by-2 or 1-by-3 numeric array
Location to hover at, specified as the coordinates of the hover point:
Axes and UI Axes — A 1-by-2 or 1-by-3 numeric array containing
x-, y-, and optionally
z-coordinates.
Polar Axes — A 1-by-2 numeric array containing θ- and
r-coordinates.
Panel and UI Figure — A 1-by-2 numeric array containing x-
and y-coordinates. Specify the coordinates of the hover point
measured in pixels from the lower-left corner of the component.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.