Triggering referenced models in Simulink
5 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Monika Jaskolka
on 10 May 2021
See "Triggered Sample Time" in: https://www.mathworks.com/help/simulink/ug/types-of-sample-time.html
See "Conditions for Inheriting Sample Times" in: https://www.mathworks.com/help/simulink/ug/inherit-sample-times-for-model-referencing-1.html
More Answers (0)
See Also
Categories
Find more on Create Large-Scale Model Components in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!