Combine subsystems in Simulink with continuous and discrete states

7 ビュー (過去 30 日間)
Paolo
Paolo 2021 年 12 月 15 日
コメント済み: Paolo 2021 年 12 月 19 日
I would like to combine two subsystems, one with continuous states, the other with discrete ones. The discrete subsystem provides inputs for the continuous one, and viceversa. I am trying to use "Zero Hold" and "Rate Transition"; in this case how can I set different solver for each subsystems? Thanks in advance.

採用された回答

Mark McBroom
Mark McBroom 2021 年 12 月 19 日
You can not set a different solver for each subsystem. The solver is defined at the model level and applies to all subsystems in the model. For your case, no solver is needed for the discrete subsystem so the solver you define at the model level will be used for your continous time subsystem.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by