Simulink block for initialization

1 回表示 (過去 30 日間)
Anand Shirke
Anand Shirke 2019 年 2 月 1 日
コメント済み: Olumide Ayeni 2020 年 1 月 22 日
In my simulink simulation, initial value of a particular constant input is to be given by me. Later on the value is changed by the feedback signal.
The feedback signal is also constant(1x1) but changes with time. My question is is there a block for this particular condition.?

採用された回答

Dhanashree Mohite
Dhanashree Mohite 2019 年 2 月 7 日
As per my understanding, you want to use one constant value while initializing and afterwards the feedback value.
So, actually there are multiple ways. Below are some:
1. You can use unit delay block for feedback and use it’s initial condition property to set initial value.
2. You can also use triggered or enabled subsystem. You can set initial value for it’s output port. And then you can use any value as it’s input afterward.
  1 件のコメント
Olumide Ayeni
Olumide Ayeni 2020 年 1 月 22 日
Hi. Can you please explain 2. a bit more?

サインインしてコメントする。

その他の回答 (1 件)

Anand Shirke
Anand Shirke 2019 年 2 月 11 日
Block Initial Condition works like charm!

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by