Code covered by the BSD License  

Highlights from
Drag Line in GUI

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 6.73 KB File ID: #42284
image thumbnail

Drag Line in GUI

by

 

Lines in the GUI can be dragged

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us