File Exchange

image thumbnail


version (14.8 KB) by Michelle Hirsch
This allows you to easily add drag and drop capabilities to any GUI.

1 Download

Updated 17 Aug 2015

From GitHub

View Version History

View license on GitHub

DRAGNDROP is designed to allow you to easily add drag and drop functionality to your MATLAB-based applications.
To use:
- Unzip
- Add the root directory to your path (do not add the @dragndrop directory).
- Run any of the example files in the examples directory (dd_example1.m through dd_example5.m)

These example files function as a basic tutorial on the interface. Additional documentation is available by typing "doc dragndrop"

Cite As

Michelle Hirsch (2021). dragndrop (, GitHub. Retrieved .

Comments and Ratings (6)

Y Mehta


Thanks for this submission. Is there a way to drag a windows file on Matlab figure and execute a particular callback in the background when that happens? If yes, please share that as well.



JK Wang

Aravind Seshadri


Zhang Way

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!