From: Sam on
dear friends,am very new to this matlab
i hav to do a program such that i can compltely replace the xternal mouse
i hav been working for this for days and understood that by set(0,'PointerLocation',location),location-e.g.[600 550] i can move mouse.next allllll. had been mysterious till now
<<how to get commands for mouse clicks>>
From: ImageAnalyst on
Sam:
If you're not using a mouse, and just moving around the cursor (let's
not call it mouse) with code, then you just need to call a function
that would do the same things that your mouse click event callback
would do. In other words, there is no mouse, and no click callback
for any object/control on your GUI that can be called because you have
no mouse so I'd just have a function that does the same stuff you'd do
as if you did have a mouse. Just call that function whenever you want
to simulate a mouse click.
-ImageAnalyst