From: Travis on
I have some code that runs cycles through modeling data. While it does this it is usually set to fprintf the data out to the command window. I am putting a GUI front end on the code and would like this data that is fprintf'd to go out to the GUI in some text boxes. I can't figure out how to update the GUI while the .m code is still running though.
From: jrenfree on
On Jun 18, 11:57 am, "Travis " <sinuso...(a)hotmail.com> wrote:
> I have some code that runs cycles through modeling data.  While it does this it is usually set to fprintf the data out to the command window.  I am putting a GUI front end on the code and would like this data that is fprintf'd to go out to the GUI in some text boxes.  I can't figure out how to update the GUI while the .m code is still running though.

I'm confused. If you want to put an output into a text field on a
GUI, then I believe you just need to access the 'String' or 'Text'
variable using the text box handle.
From: Walter Roberson on
Travis wrote:
> I can't figure out
> how to update the GUI while the .m code is still running though.

drawnow()
From: Travis on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hvgg11$kv2$2(a)canopus.cc.umanitoba.ca>...
> Travis wrote:
> > I can't figure out
> > how to update the GUI while the .m code is still running though.
>
> drawnow()

worked perfectly, thanks.