Input values and control menus of GUI's from code?

Hello,
I have a GUI that someone else wrote that I am using. I need to use the "file" header to open a specific file. I would like to tell the GUI to do this from a code I have written.
There are also several UI controls within the GUI that I also must enter from the code, not manually.
What commands can I put in my code to do these two things?
Thank you

Answers (1)

Create a function with the code you've written, then call it from your gui
help function

1 Comment

I'm not sure I follow you. Everything has to be operated from the code, including the GUI, as it will be automated to repeat GUI functions on a lot of data.
I am basically looking for a way to control and input into the GUI from a script/function so that I don't have to do anything manually, and can change GUI inputed values based on calculations that take place outside the GUI.

Sign in to comment.

Categories

Tags

Asked:

Sam
on 24 Jan 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!