Root pointer location outputs same value
2 次查看(过去 30 天)
显示 更早的评论
I designed a script to break out of a loop using the mouse cursor instead of ctrl+c This worked well using get(0,'PointerLocation') until I force quit MATLAB while running an infinite loop (perhaps abusing the get command on the root).
Now the values got stuck to half my screen Size and wherever I move my mouse the values do not change. I can change them manually using set(0,'PointerLocation',[x y]) but this dosen't change my mouse position or fix the issue that the value remains the same.
Is there any way to reset/fix this ?
.
I'm running MATLAB 7.9.0.529 (R2009b) 64-bit on MAC OS X 10.6.6 intel core i7
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!