File Exchange

image thumbnail


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

1 Download

Updated 17 Aug 2015

GitHub 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 (2020). 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


moved code to GitHub

Updated copyright.

Fix more bugs. Reimplemented identification of where the user dropped a source. Fixed errors in examples.

Correct bug in dd_example4.m

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