How does one use multiple persistent variables?
Mostra commenti meno recenti
I need to store t t-1 and t-2 as different variables
Risposte (2)
Walter Roberson
il 25 Ott 2016
persistent t t_minus_1 t_minus_2
Jan
il 25 Ott 2016
Or
persistent t
persistent t_minus_1
persistent t_minus_2
Walter's and my answer are trivial. Perhaps your forgot to mention a difficult problem.
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!