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

2 次查看(过去 30 天)
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

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-1-24
编辑:Azzi Abdelmalek 2013-1-24
Create a function with the code you've written, then call it from your gui
help function
  1 个评论
Sam
Sam 2013-1-24
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by