Simulink stepブロックのステップ時間について
10 ビュー (過去 30 日間)
古いコメントを表示
ステップ時間を変更しても、ステップ値が最初から入力されてしまいます。ステップ時間1、5000、10000を試したのですがすべて同じ波形が出力されてしまいます。また、50000に変更するとエラーが発生してシミュレーション実行できません。どのような問題が考えられますか?
0 件のコメント
採用された回答
Naoya
2020 年 11 月 18 日
キャプチャ画面をみてみますと、Scopeブロックの右下部に オフセット=46801 / T=57601.000 と表示されているようです。
こちらは、Scopeブロック側の設定 (Scopeブロックを右クリック > コンフィギュレーションプロパティ> 時間 > 時間範囲) で、 その設定した時間ごとに Scopeブロックの表示が一新されることになります。
キャプチャ画面では、実際、時間軸が 46801 ~ 57601 sec になっていることになります。 ステップの立ち上がりが 46801 sec 以前であれば、現状の Scope上では 常に 1 が表示されるようにみえます。
0 件のコメント
その他の回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で スコープおよびデータ ログ についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!