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 CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by