How to move uicontrol object with mouse?

I want to make 2 circle like objects with a line connecting both the circles. And the 2 circles should be movable with mouse. And if possible I need to get the position of those 2 circles and line equation.

2 Comments

The circles and lines will not be uicontrols.
Then how can I make something similar to it?

Sign in to comment.

Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Asked:

on 14 Feb 2016

Commented:

on 15 Feb 2016

Community Treasure Hunt

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

Start Hunting!