uiselectobject
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://uk.mathworks.com/matlabcentral/fileexchange/55140-uiselectobject), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
