control mouse clicking

how could we control mouse clicking operation using matlab in xp ?

1 Comment

Jan
Jan on 2 Mar 2011
Are you still interested in an answer?

Sign in to comment.

Answers (2)

Matt Tearle
Matt Tearle on 1 Mar 2011

0 votes

ButtonDownFcn? ginput? Please explain what you mean by "control mouse clicking operation". What exactly do you want to do?
Walter Roberson
Walter Roberson on 1 Mar 2011

0 votes

I am going to take a guess that you want the Java Robot class. This would apply if you want to use Matlab to enter a mouse click on behalf of the user, such as to automate interaction with a different program.

6 Comments

Wow. I bow before your powers of ESP!
Matt Fig
Matt Fig on 1 Mar 2011
Of course, with such a vague problem description Walter is just as likely to be miles away from what the OP meant. The joys of question deciphering continue....
Ignore Fig's heresy, Walter. *I* am a true believer in your powers. Speaking of which, I have this code that isn't working... say the word, Oh Mighty One, and it shall be debugged!
OP>> I have a question
Walter>> 42
OP>> Thank you
OP>> I have a question
Walter>> The answer to the question you _think_ you are asking is 42, but if you do a substitution of variables in section 3.10.9 of this reference document according to the definition of this wikipedia document, and take the limit of the derived equation, we can see that the actual value could be anywhere up to 3^^^^3 and you do not have any information to the contrary, you cannot distinguish these days. If, however, you alter your mental question to use "and" instead of "or", then section 9.14.5 of this document shows how in your likely circumstances that the actual answer is 6.
OP>> [Accepted Answer] Thank you but it turned out I needed num2str(6) because of something I didn't think of until after you showed me I was calculating the wrong thing.
:D

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!