Use Mouse in MATLAB

版本 1.0.0.0 (1.1 KB) 作者: Nishant Kumar
Access Mouse from MATLAB
250.0 次下载
更新时间 2015/4/17

查看许可证

there are four function related to mouse,
"getmouse" returns coordinate of mouse pointer, lower left corner is(1,1) and upper right corner is equal to the screen size.
ex.
m=getmouse;
you can also send pointer to a specific location by using "setmouse" function;
ex.
setmouse(100,100);
"leftclick", and "rigthclick" functions are self explanatory.

引用格式

Nishant Kumar (2024). Use Mouse in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/50538-use-mouse-in-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 App Building 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0