leotim
Full Member level 3

matlab gui global variable
Hi all,
I want to define some global variables in MATLAB GUI. I need to use these variables in all of my callback functions. i have attached the GUI M-File.
it seems that sing the global declaration does not work in this case. i have defined my global variables in line 57-61, but i can not use these variables in line 120.
Any one can help me?
Hi all,
I want to define some global variables in MATLAB GUI. I need to use these variables in all of my callback functions. i have attached the GUI M-File.
it seems that sing the global declaration does not work in this case. i have defined my global variables in line 57-61, but i can not use these variables in line 120.
Any one can help me?