convert variable to global

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?

 采纳的回答

global handles

2 个评论

Where do I write it in the gui?
In the functions where handles.var1 is defined or changed

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by