File Exchange

image thumbnail


version 0.1.0 (12.1 KB) by William Warriner
Updated version of MATLAB FEX draggable by François Bouffard. Now works with UIAxes and UIFigure.


Updated 30 Jul 2020

From GitHub

View license on GitHub

See comments in "draggable.m" and "DraggableDemo.m" for documentation.

This release should be completely backwards compatible with the function calls used by the original. It is not backwards compatible with the MATLAB versions the original was designed for. I am unsure of how far back this will be compatible.

Still missing a few things:
- Past contributors François Bouffard would like to acknowledge.
- Compatibility range among MATLAB releases.

Cite As

William Warriner (2021). draggable (, GitHub. Retrieved .

Comments and Ratings (1)

Raphael Kriegl

Hey, I am trying to use you version of draggable. However I have a slight issue.
My script creates one uifigure with buttons and another nromal figure window with an axes object.
My draggable object is a horizontal line on these axes, but if I try to drag it nothing happens.
The position of that line is only updated when I move my mouse over the uifigure Window.
Do you know why that could be?

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!