Updated 27 Mar 2023
Francois Bouffard (2023). draggable (https://www.mathworks.com/matlabcentral/fileexchange/4179-draggable), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: colorStudioMax: ColorBrowser+dictionary, colorBlind correct, DragDataTip, roitool, DIGITIZE07, Enhanced Dicom Viewer, imdisp (enhanced version), Add an ROI toolbar to your figure, draggableRect, AVPlay
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Includes Gunnar Geissler's 'data' constraint, allowing a marker or other object to snap to data series.
Probable fix to draggable not working well with App Designer apps. Thanks to William E. Warriner for working on the fix with me and testing it.
This update fixes a bug found by Esmerald Aliai in which draggable would not work for axes embedded in Panels. In fact this should also fix Shaun's bug mentioned in March 2012.
Major update. Now supports text objects. Diagonal constraints with arbitrary slopes added. Single call for applying draggable on multiple objects sharing the same parameters supported. Added the 'sliders' demo in dragdemo. General cleanup.
implemented a feature and fixed a bug (both user-suggested)
Bugfix for Matlab 7+: axes no longer disappear. Renderer option removed.