How can I include an Enable/Trigger block at the root level of a Simulink model?

5 次查看(过去 30 天)
I would like to include an Enable block at the root level of my Simulink model. This returns the following error message:
Trigger, enable and action ports are not allowed in the root window of a block diagram.
I would also like to be able specify port attributes in these blocks.

采纳的回答

MathWorks Support Team
This enhancement has been incorporated in Simulink (R2011b). For previous product releases, read below for any possible workarounds:
The ability to include Enable/Trigger/Action ports in the root level of a model is not available in Simulink.
To work around this issue, you may use the Model Reference block in an enabled or triggered subsystem.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Schedule Model Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by