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

采纳的回答

j dr
j dr 2011-2-8
Even aftershutting down it didn't fix itself.
Now it's working again... I guess it's a problem that fixes itself regularly...

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by