채택된 답변

Walter Roberson
Walter Roberson 2011년 1월 25일

4 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by