Customization > Automation Interface > Functions > For System Simulations > State Machines > UnloadStateMachine function (automation interface)
UnloadStateMachine function (automation interface)
Syntax:
UnloadStateMachine("<listener dll>")
Where:
<listener dll> is a string that specifies the path and name of the listener dll.
Stops and unloads the active listener dll. The function returns a Boolean value to indicate success or failure.
Examples
UnloadStateMachine("c:\simulation\smg.dll")