File Exchange

image thumbnail

uiselectobject

version 1.0.0.0 (1.23 KB) by Luca Amerio
ask the user to select an object of the specified type

1 Download

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

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!