Drag Line in GUI

版本 1.0.0.0 (6.7 KB) 作者: Gero Nootz
Lines in the GUI can be dragged
1.0K 次下载
更新时间 2013/6/18

查看许可证

run DragLineGUI.m

This demo is modeled after Doug Hull excellent demo @:
http://blogs.mathworks.com/pick/2008/05/27/advanced-matlab-capture-mouse-movement/
but has been revised to work in a file created with GUIDE.
The two lines can be dragged with the mouse and the positions can be passed to the command window by pressing the push button.
It also shows how to pass the GUI handles to the user defined callback functions in the same way GUIDE does.

引用格式

Gero Nootz (2024). Drag Line in GUI (https://www.mathworks.com/matlabcentral/fileexchange/42284-drag-line-in-gui), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

DragLineGUI/

版本 已发布 发行说明
1.0.0.0