From: Travis on 18 Jun 2010 14:57 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 18 Jun 2010 14:59 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 18 Jun 2010 15:02 Travis wrote: > I can't figure out > how to update the GUI while the .m code is still running though. drawnow()
From: Travis on 18 Jun 2010 15:34 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.
|
Pages: 1 Prev: finding intersection coordinate of straingt line & curve Next: fit image to screen |