Starting Embed from a BAT file

When you only care about the final results of a simulation and you are not interested in looking at the simulation graphically, can create a BAT file that contains command line arguments to start Embed with a specific diagram and execute the diagram without user interference.

To create a BAT file

      Use any editor to create a BAT file that contains one of the following commands:

Embed-install-directory\vissim32.exe -arg1 -arg2 -arg3path-to-block-diagram.vsm

Embed-install-directory\vissim64.exe -arg1 -arg2 -arg3path-to-block-diagram.vsm

If you enter more than one argument, separate them with spaces. The diagram name must be specified last.

To execute a BAT file

      In the File Explorer, double-click the BAT file name

      In a Command window, enter the BAT file name