uiselectobject

版本 1.0.0.0 (1.2 KB) 作者: Luca Amerio
ask the user to select an object of the specified type
32.0 次下载
更新时间 2016/1/28

查看许可证

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'

引用格式

Luca Amerio (2024). uiselectobject (https://www.mathworks.com/matlabcentral/fileexchange/55140-uiselectobject), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Maintain or Transition figure-Based Apps 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0