How to run functions in GUI opening function and pass variables?

2 次查看(过去 30 天)
Hi !
I would like to do the following (not sure if it is possible) :
I would like to create a GUI and in the GUI_OpeningFcn
function GUI_OpeningFcn(hObject, eventdata, handles, varargin)
% 1- call Variables Initialization Function --> output: all variable that will not change (a lot!)
% 2- wait for push button to take the value from a slider
% 3- pass output from 1 & 2 to a function with the previous output of this function
% 4- plot output
% 5- go back to step 2
Since passing variables between function in the GUI is diffrent from the normal script. Is it possible to do it this way ?
Thanks !

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by