drag and drop graphics?

33 views (last 30 days)
Walter Roberson
Walter Roberson on 25 Jan 2011
How can I drag and drop graphics in Matlab?

Accepted Answer

Walter Roberson
Walter Roberson on 25 Jan 2011
Mathworks has provided technical solution 1-4DNMFD which gives code for dragging and dropping on a single figure. It works by using the figure ButtonDownFcn, WindowButtonUpFcn, and WindowButtonMotionFcn . The Motion function is used to detect the CurrentPoint and move the object to there.

More Answers (0)

Categories

Find more on Animation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!