WindowButtonMotion responds more slowly in version 2014
Show older comments
After upgrading from version 2013 to 2014, I noticed that my program ran much more slowly. At first I thought it was the new graphics system (as my program is graphics intensive) but now I think the problem is the due to overall GUI & system sluggishness.
This is best illustrated as follows: When a user moves the mouse, the WindowButtonMotion function is called. I used the tic & toc functions (and removed ALL other code) and found that version 2013 responds to mouse motion approximately TWICE as fast as version 2014!
Try it yourself! 1) Using GUIDE, create a program. 2) Insert two lines in that program's figure's WindowButtonMotion function. For the first line put toc. For the second line put tic. (Make sure to put them in that order) 3) Run the code and move the mouse!(In both version 2013 & 2014)
My system reports an average latency of 0.015 seconds for version 2013 and 0.03 seconds for version 2014. It doesn't sound like much but it translates to a very sluggish look & feel when the mouse motion is translated to graphical operations.
Adjusting the mouse "tracking speed" in my mac's "system preferences" had no effect. Any suggestions?
Dan
Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!