How to declare a global variable in Startup function of matlab app.designer
59 views (last 30 days)
Show older comments
ErikJon Pérez Mardaras
on 13 Jan 2021
Commented: ErikJon Pérez Mardaras
on 14 Jan 2021
I want to declare a global variable in matlab app designer's startup function in order to use it continuously through the app's code.
Specifically, I want to declare value1 as a global variable
I have tried that but it doesn't seems that works.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487053/image.png)
Thank you very much
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!