Using the first value of a variable during simulation in Simulink

1 回表示 (過去 30 日間)
Berke Ogulcan Parlak
Berke Ogulcan Parlak 2020 年 6 月 2 日
回答済み: Fangjun Jiang 2020 年 6 月 2 日
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?

採用された回答

Fangjun Jiang
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 件)

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by