Simulink stepブロックのステップ時間について

ステップ時間を変更しても、ステップ値が最初から入力されてしまいます。ステップ時間1、5000、10000を試したのですがすべて同じ波形が出力されてしまいます。また、50000に変更するとエラーが発生してシミュレーション実行できません。どのような問題が考えられますか?

 採用された回答

Naoya
Naoya 2020 年 11 月 18 日

2 投票

キャプチャ画面をみてみますと、Scopeブロックの右下部に オフセット=46801 / T=57601.000 と表示されているようです。
こちらは、Scopeブロック側の設定 (Scopeブロックを右クリック > コンフィギュレーションプロパティ> 時間 > 時間範囲) で、 その設定した時間ごとに Scopeブロックの表示が一新されることになります。
キャプチャ画面では、実際、時間軸が 46801 ~ 57601 sec になっていることになります。 ステップの立ち上がりが 46801 sec 以前であれば、現状の Scope上では 常に 1 が表示されるようにみえます。

その他の回答 (1 件)

Deepak Meena
Deepak Meena 2020 年 11 月 18 日

1 投票

Hi,
As Naoya clearly mentioned it can be the problem in the configuration settings of Scope block , try going to configuration settings of scope and make the sample time to -1 so it will have same sample time as of step block .
If that doesn't help , attch the simulink model , we will try to debug further .
Thanks
Deepak

カテゴリ

製品

リリース

R2020a

タグ

質問済み:

2020 年 11 月 16 日

回答済み:

2020 年 11 月 18 日

Community Treasure Hunt

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

Start Hunting!