Using a function to create a global variable in the workspace
Show older comments
I'm making a GUI to replace one m file, the m file creates several variables in the workspace and now I want to do the same in the GUI, some of the variables need to have global in their attributes, how can I use assignin or set the attribute in order to have global variables?
Thanks in advance and sorry for such a basic question, I searched before asking but didn't found the answer.
Accepted Answer
More Answers (0)
Categories
Find more on Variables in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!