Simulinkで可変ステップを取得する方法

10 views (last 30 days)
taichi muto
taichi muto on 8 Nov 2021
Commented: taichi muto on 8 Nov 2021
Simulinkのソルバーで可変ステップを用いているのですが,可変ステップの値を取得することはできますか?

Accepted Answer

Toshinobu Shintai
Toshinobu Shintai on 8 Nov 2021
「可変ステップ」とは具体的に何を指していますでしょうか。
「可変ステップに設定されたモデルのシミュレーション時刻」ということであれば、"clock"というブロックから得ることができます。こちらのリンクをご確認ください。
  1 Comment
taichi muto
taichi muto on 8 Nov 2021
ご回答ありがとうございます.
モデルコンフィギュレーションパラメーターの可変ステップのステップ時間を意味していました.
clockブロックと一次遅れを利用することでステップ時間を求めることができました.

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!