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

simulinktrigger

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.

Best Answer

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