Can I control mouse cursor with using MATLAB?
7 views (last 30 days)
Show older comments
I'd like to control mouse cursor but I'm not sure even I can do it through MATLAB. If you can, will you tell me the functions to do it, examples of using them and MATLAB version contains those functions?
0 Comments
Accepted Answer
Walter Roberson
on 29 Nov 2013
If you are moving it for use within MATLAB, you can set the root CurrentPoint property.
If you are moving it for use with other applications, see the Java Robot class.
More Answers (1)
Image Analyst
on 29 Nov 2013
Control what exactly? You can control what it looks like :
set(gcf, 'Pointer', 'fullcrosshair');
set(gcf,'Pointer','watch');
% Change mouse pointer (cursor) to an arrow.
set(gcf,'Pointer','arrow');
and so on.
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!