convert variable to global

7 views (last 30 days)
Alon
Alon on 18 Apr 2014
Edited: Azzi Abdelmalek on 18 Apr 2014
Hello, I have a gui and all of my variables are named like this: handles.var1,handles.var2....
How can I convert them to be global?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 18 Apr 2014
global handles
  2 Comments
Alon
Alon on 18 Apr 2014
Where do I write it in the gui?
Azzi Abdelmalek
Azzi Abdelmalek on 18 Apr 2014
Edited: Azzi Abdelmalek on 18 Apr 2014
In the functions where handles.var1 is defined or changed

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!