Engee documentation

Stop Simulation

Stops the simulation when the input signal is non-zero.

blockType: StopSimulation

Path in the library:

/Basic/Sinks/Stop Simulation

Description

The Stop Simulation block stops the simulation when a non-zero value appears on the input. The current time step is completed before the simulation is terminated. If the input signal is a vector, any non-zero element of the vector causes the simulation to stop.

You cannot use the Stop Simulation block to pause the simulation.

Ports

Input

# IN — input signal
scalar | vector | matrix

Details

Stopping the simulation at non-zero value of the input signal.

Data types

Float64, Bool.

Complex numbers support

No