Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
Sam
Sam il 24 Gen 2013
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

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 24 Gen 2013
Modificato: Azzi Abdelmalek il 24 Gen 2013
Create a function with the code you've written, then call it from your gui
help function
  1 Commento
Sam
Sam il 24 Gen 2013
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.

Accedi per commentare.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by