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?

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Preguntada:

el 17 de Jul. de 2025

Editada:

el 17 de Jul. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by