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

3 views (last 30 days)
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 !

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!