Is there any way to conditionally trigger a subsystem having multiple sample time blocks in Simulink?

There is an 'If Action' block that do exactly that, but all blocks in the subsystem must have same sample time as that of control block. I need to run that model in xPC Target.

 Akzeptierte Antwort

You might want to use an Enabled Subsystem and use the condition as the control signal to enable the system.

Weitere Antworten (0)

Kategorien

Mehr zu Schedule Model Components finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by