press
Class: matlab.uitest.TestCase
Namespace: matlab.uitest
Perform press gesture on UI component
Syntax
Description
Components
press(___,SelectionType=
uses the specified mouse selection type to perform a press gesture on the
component. You can specify a selection type with only three of the available
components: axes, UI axes, and UI figure. Specify the selection type in addition
to any of the input argument combinations in previous syntaxes. For example,
type)press(testCase,fig,SelectionType="alt") tests a
right-click at the center of the specified UI figure.

