uiselectobject

ask the user to select an object of the specified type

You are now following this Submission

UISELECTOBJECT ask the user to select an object of the specified type inside a figure and wait
until the user click on an object of the given type.
H = UISELECTOBJECT(TYPE,HFIG) waits until the user selects an object with
type equal to TYPE in figure HFIG and returns its handle. TYPE is a string or a cell
array of strings containing the valid types.
H = UISELECTOBJECT(TYPE) look for the specified object inside the
current figure.

Example:
h=uiselectobject('Line',gcf);
h.Color='r'

Cite As

Luca Amerio (2026). uiselectobject (https://in.mathworks.com/matlabcentral/fileexchange/55140-uiselectobject), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Update figure-Based Apps in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0