Drag Line in GUI

バージョン 1.0.0.0 (6.73 KB) 作成者: Gero Nootz
Lines in the GUI can be dragged
ダウンロード: 1K
更新 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 Center および MATLAB AnswersMigrate 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