Code covered by the BSD License  

Highlights from
dragndrop

image thumbnail
from dragndrop by Michelle Hirsch
This allows you to easily add drag and drop capabilities to any GUI.

dd_example3_cbk(drag,drop);
function dd_example3_cbk(drag,drop);
% DD_EXAMPLE3_CBK  Callback function for dd_example3
% Generates a plot of the type specified on a button dragged onto an axes.

% Copyright 2003 The MathWorks, Inc

str = get(drag,'string');
[x,y,z] = peaks;
feval(str,x,y,z);
shading interp

Contact us