lundi 24 septembre 2018

Stop Simulink using From block

I have made a short simulation to display a ballistic trajectory.

I had like to set a condition that if altitude <= zero and time > 1 second, to stop the simulation.

I initialized the simulation to be for example 100 seconds but I expect it to stop when needed.

I tried the following:

enter image description here

However im getting an error saying:

Port 1 of
'Simulation/If'
can only be
connected to an
action subsystem
and may not be
connected to more
than one action
subsystem

Aucun commentaire:

Enregistrer un commentaire