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

10 ビュー (過去 30 日間)
拓 松尾
拓 松尾 2020 年 11 月 16 日
回答済み: Deepak Meena 2020 年 11 月 18 日
ステップ時間を変更しても、ステップ値が最初から入力されてしまいます。ステップ時間1、5000、10000を試したのですがすべて同じ波形が出力されてしまいます。また、50000に変更するとエラーが発生してシミュレーション実行できません。どのような問題が考えられますか?

採用された回答

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

その他の回答 (1 件)

Deepak Meena
Deepak Meena 2020 年 11 月 18 日
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

カテゴリ

Help Center および File Exchangeスコープおよびデータ ログ についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!