Request simulation end - stopSimulation()

This function requests that Embed stop a simulation.

EXPORT32 void PASCAL EXPORT stopSimulation( int stopVal);

If stopVal is 1, the current simulation run is stopped. If you have activated Auto Restart in the System Properties dialog, Embed starts the next simulation run. If stopVal is 2, all simulation runs are stopped.