How does one use multiple persistent variables?
显示 更早的评论
回答(2 个)
Walter Roberson
2016-10-25
persistent t t_minus_1 t_minus_2
Jan
2016-10-25
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!