From: Dirk-Jan Kroon on
> > > > The problem I am having is that it doesn't update; unless I stop it in
> > > > the editor, and then it works perfectly.

Same problem, work around (also works in case of copy paste) :
set(handles.edit1,'Visible','off')
pause(0.1);
set(handles.edit1,'Visible','on')
From: Dirk-Jan Kroon on
"Dirk-Jan Kroon" <kdirkjan(a)hhhhhhhotmail.com> wrote in message <hvabam$ood$1(a)fred.mathworks.com>...
> > > > > The problem I am having is that it doesn't update; unless I stop it in
> > > > > the editor, and then it works perfectly.
>
> Same problem, work around (also works in case of copy paste) :
> set(handles.edit1,'Visible','off')
> pause(0.1);
> set(handles.edit1,'Visible','on')
Forget a Line (to refocus):

set(handles.edit2,'Visible','off')
pause(0.1);
set(handles.edit2,'Visible','on')
uicontrol(handles.edit2)