Info

This question is closed. Reopen it to edit or answer.

How to know which one is controlled by user recently when there are many control points?

1 view (last 30 days)
Hello everyone.
I have question about the impoint. How to know which one is controlled by user recently when there are many control points?
Sincerely, Taiyoon Lee

Answers (1)

Walter Roberson
Walter Roberson on 7 Feb 2012
If it still the active object, then gco() will return its handle.
If it is not still the active object, then MATLAB has forgotten that it was used "recently", unless you somehow remembered that yourself (e.g., by creating a position constraint function that saved the object handle.)

Tags

Community Treasure Hunt

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

Start Hunting!