Mantain a variable for the next cycle

1 visualización (últimos 30 días)
luca
luca el 25 de Sept. de 2019
Respondida: Walter Roberson el 25 de Sept. de 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?

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de Sept. de 2019
See persistent()

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by