Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Sam
Sam el 24 de En. de 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

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 24 de En. de 2013
Editada: Azzi Abdelmalek el 24 de En. de 2013
Create a function with the code you've written, then call it from your gui
help function
  1 comentario
Sam
Sam el 24 de En. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by