Info
This question is closed. Reopen it to edit or answer.
how i use to it variable global in GUI ?
1 view (last 30 days)
Show older comments
i have signal i want load it ,it is as this SD2E201.dat just i want how get variable global in GUI ?
0 Comments
Answers (1)
Image Analyst
on 28 Apr 2015
Just declare the variable global in all functions that need to be able to access it (assign it or use it):
global myGlobalVariable; % Use whatever name your variable is.
Functions that have that line in them will see it, and functions that don't have that line in them will not see it.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!