|
My GUI has a status indicator that I would like to have keep the user informed of what is going on. However, when I try to set it, MatLab continues to the next command and never executes the set command.
Example:
set(status_ind,'String','Busy','Color','Red');
[x,y] = textread(filelocation,'%f %f','headerlines',1);
set(status_ind,'String','Ready','Color','Green');
In this script it never finishes the 1st command, but instead becomes occupied with the textread.
Is there a way I can say "Finish what I told you to do, then go on" between the 1st and second command?
Cheers,
Seth
|