App Designer: Push-button and keep certain variables in workspace

I am using a push button. When I push it, I get a variable in my workspace. However when the push button function ends, all workspace variables are cleared. How can I store my variable in a safe place to not get cleared when the push button function ends?

类别

帮助中心File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品

版本

R2023a

提问:

2025-7-17

编辑:

2025-7-17

Community Treasure Hunt

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

Start Hunting!

Translated by