Mantain a variable for the next cycle

1 vue (au cours des 30 derniers jours)
luca
luca le 25 Sep 2019
Hi,
I've generate a code and I want to run the code different times. Everytime I run the code I would like to mantain a variable in the workspace that I need for the following run.
May someone explain me how to do it?

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Sep 2019
See persistent()

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by