Using the first value of a variable during simulation in Simulink
4 次查看(过去 30 天)
显示 更早的评论
This block generates output only once during simulation (at the beginning of the simulation). And I want to use the output obtained initially throughout the simulation. I tried to use Unit Delay, but I think I have to add something. Could you help?

0 个评论
采纳的回答
Fangjun Jiang
2020-6-2
If the triggered subsystem is truly ran only once, then you don't need to do anything. The output value of this block is "held". Just try it.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!