MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an easy way to halt an interactive simulation based on the state of a variable?

I want to be able to run simulations on unfamiliar data, where the simulation times of interest are not known ahead of time.
 
Is there an easy way to invoke the PAUSE command when a simulation variable changes to a particular value?
0 Kudos
Message 1 of 2
(7,112 Views)
There is a STOP block in the palette (Logical Palette Group) that must have logic in the model to trigger the stop. However, there is no pause, even in the IA palette.

So, what you can do is wire up the stop block, run the sim and figure out which time point did it stop at. Then, re-run interactively and set a time break-point to that time. Then, single step thru.
0 Kudos
Message 2 of 2
(7,102 Views)