The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: GUI External Main Functions
Replies: 3   Last Post: Mar 19, 2013 7:09 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 3/24/11
GUI External Main Functions
Posted: Mar 24, 2011 4:54 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I apologize if this has been answered in the past, I cannot seem to find an easy explanation for this.

The short version of what I am trying to accomplish is that I want to create a main function inside a GUI that can execute after the init and opening functions have completed and the GUI has appeared on the screen. If I try putting a call to a main loop inside the opening function, it will execute before the window even opens, and I do not want to mess with the init function at all.

Is it possible to create a wrapper to the GUI and update the fields using that instead? This might be a rookie question, but I could not find any guides for how to do this. I have no idea how to modify handles from outside the GUI script.

Ideally what I would like to do is have a main function inside the GUI script that I can just call AFTER the window has opened, but that doesn't seem to be possible.

Again, I might just be having a hard time finding the resources for doing something like this, so if someone can point me in a direction I would be very grateful. Thank you!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.