Generate and download code to run in FLASH in batch mode

When you only care about the final results of a simulation or code generation, and you are not interested in looking at the simulation graphically, you can create a batch file that contains commands to start Embed with a specific diagram and execute the diagram, generate code, and download it to FLASH without user interference. To do so, use any editor to create a BAT file that contains the following:

<install-path>\vissim32.exe -compile -target=target-name -flash complete-path-to-block-diagram.vsm

You must specify the -flash function in conjunction with the -target and -compile functions. Specify the target-name in the same way that it appears in the Target dropdown in the Tools > Code Generation dialog box. For example, -target=F280X.

Separate functions with spaces.