Prev: Reading mouse position while the mouse is moving in GUI
Next: How to 'detect' zeros between two non-zeros numbers ?
From: Markus Leuthold on 13 Aug 2010 04:54 Hello I created two GUIs with GUIDE. They contain: GUI1: 1 Axis GUI2: 1 Axis and 50 other elements such as buttons, sliders etc... In both cases, I render a 3d object onto the axis and rotate it manually with cameratoolbar('setmode','orbit'). GUI2 is much slower compared to GUI1. While I get around 25fps for GUI1, the framerate drops down to 12fps in GUI2. I checked with the profiler, and the culprit is the "drawnow expose" command in cameratoolbar.m. This is an internal command, so I cannot debug further into this function. It seems to me that an increasing number of GUI elements in a figure slows the application significantly down. What can I do against that? Are there any undocumented java hacks to speed things up? best regards, Kusi |