We have a large project that was implemented entirely in Matlab with a
GUI. The GUI was developed under 5.2. We recently upgraded to Matlab
5.3 and the exact same GUI runs intolerably slow under the same
conditions (i.e. same resources available). As suggested by a Matlab
applications engineer, all necessary figures are created at startup (~20
figures, each with it's own uimenus and uicontrols) and made invisible
until needed. This did help in 5.2 and things were good.
Now in 5.3, it seems that Matlab cannot handle that many objects. To
give you an idea, it takes ~5 sec. for a response to clicks on the down
arrow of a listbox control, and as much as 15 seconds to refresh the
figure underneath the one with the listbox when the focus changes
windows. We have both 5.2 and 5.3 on the system right now and I have
tried both. It is not entirely a resources issue. I am running Matlab
5.3 on a SUN Sparc Ultra with 640 Meg of memory and a huge swap file. I
am not swapping, the CPU is not loaded down, and Matlab uses ~27 Meg in
both 5.2 and 5.3.
Right now, we cannot move our GUI applications to 5.3. This is a
serious problem and we need some answers. I realize that speed is a
difficult thing to pin down because there are a lot of factors. But the
simple fact is that it worked OK in 5.2 and not in 5.3. Perhaps you can
tell me why? All suggestions are appreciated.
Thanks in advance,
MIT Lincoln Laboratory