[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: GUI Components Appear Too Slowly

I am using MATLAB 6.5.0.18 and I have not used the compiler yet (I soon will
do). The problem is not too crucial because it usually bothers the user
when a session is run on a machine (Linux primarily) for the first time.

Roy

Matthew Carson wrote:

> Can you give us some more details? What version of Matlab? Is this
> a compiled GUI? In the GUIs I have written in 6.5.1, the GUIs don't
> appear until after CreateFcn and OpeningFcn have run. You can easily
> turn off the visibility of a GUI, if it is in some other portion of
> your code, too. If it is compiled in 6.5, and you are using dynamic
> field referencing of structures, there is another issue. If you put
> any logic in the dynamic field it will greatly slow down the program
> and continue to slow it down. Put only straight variables in.
> 
> Not OK:
> data.(['test' sprintf('%i',n)])=2;
> 
> OK:
> field=['test' sprintf('%i',n)];
> data.(field)=2;
> 
> -Matt
> 
> Roy S Schestowitz wrote:
>>
>>
>> Is there a way of pre-processing all the GUI components before
>> displaying it
>> to the user? Can its entire visibility be disabled until it has
>> been loaded
>> entirely? It does not look graceful otherwise.
>>
>> Roy
>>


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index