uiselectobject

ask the user to select an object of the specified type
32 Downloads
Updated 28 Jan 2016

View License

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 (2024). uiselectobject (https://www.mathworks.com/matlabcentral/fileexchange/55140-uiselectobject), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Maintain or Transition figure-Based Apps in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0