Triggering referenced models in Simulink

11 ビュー (過去 30 日間)
BRM
BRM 2021 年 5 月 10 日
コメント済み: BRM 2021 年 5 月 11 日
I try to trigger a referenced model but I get the following error message: "Model" has multiple sample times. Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem.
From what I've read triggered blocks must have inhereted solve time (-1). After setting the sample time of referenced model to (-1) I get the following error message:
Invalid FixedStep specified in the Configuration Parameters dialog for block diagram
Is there any documentation that can guide me to proper implementation of triggered models?

採用された回答

Monika Jaskolka
Monika Jaskolka 2021 年 5 月 10 日
  1 件のコメント
BRM
BRM 2021 年 5 月 11 日
Thank you, you helped me find the answer.
In Configuration Parameters/Solver I had to set the Periodic sample time constraint to "Ensure sample time independent"

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by