Triggering referenced models in Simulink

11 visualizaciones (últimos 30 días)
BRM
BRM el 10 de Mayo de 2021
Comentada: BRM el 11 de Mayo de 2021
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?

Respuesta aceptada

Monika Jaskolka
Monika Jaskolka el 10 de Mayo de 2021
  1 comentario
BRM
BRM el 11 de Mayo de 2021
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"

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by