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.
Citar como
Gero Nootz (2025). Drag Line in GUI (https://la.mathworks.com/matlabcentral/fileexchange/42284-drag-line-in-gui), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
DragLineGUI/
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |