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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 2 Nov 2011
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.

Più risposte (0)

Categorie

Scopri di più su Schedule Model Components in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by