How does one use multiple persistent variables?
15 views (last 30 days)
Show older comments
I need to store t t-1 and t-2 as different variables
0 Comments
Answers (2)
Jan
on 25 Oct 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.
0 Comments
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!