StopSimLink

Aborts a specified simulation.

UI Command:   Process Monitor > Abort Simulation.
Syntax:   obj.StopSimLink(<simID>, <abort>)
Parameters:  

INT simID

BOOL abort (TRUE/1 = abort; FALSE/0 = do not abort)

Return Value:  

None.

VB Example:  

obj.StopSimLink(121, True)

IPY Example:  

oDoc.StopSimLink(121, 1)