Matlab GUI windowButtonMotionFcn slows down when number of GUI object gets larger

2 views (last 30 days)
I am now programming a Matlab GUI for accessing current point of cursor on an axes whenever user changes the location of cursor. However, I found a strange phenomenon that the speed of windowButtonMotionFcn got slower with an increase in number of GUI object. Below is the result
I set the properties of all GUI objects as default value and my operating Matlab version is Matlab 2012a. Is there any possible way to keep the speed of windowButtonMotionFcn when number of GUI object increases?
Thank you for your attention and help. Myrick

Answers (1)

Aditya Apte
Aditya Apte on 2 May 2016
I observed similar slowdown while getting the 'currentPoint' from an axis. The callbacks get slower as the window size increases. I am using Matlab 2015b.

Categories

Find more on Graphics Objects 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!