How to control mouse pointer?
4 ビュー (過去 30 日間)
古いコメントを表示
if value is left go left.
if value is right go right.
if value is rest stop pointer in its current position or bring back to center.
This in a loop would be great.
5 件のコメント
Walter Roberson
2019 年 10 月 31 日
It is pseudocode.
In particular, the expected context is that the code would be in a callback in a GUIDE created GUI, and that you had created an axes with tag 'axis1' that is the axes the cursor position is to move in. The code also assumes that you have stored an xy pair of the rest position in handles.xy_init and that you have previously initialized handles.xy to handles.xy_init
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!