Command line parameters are specified when running FRED from a command line in order to start the program with various options. The RunEmbeddedAndQuit command line parameter starts a session of FRED, loads a FRED model, executes an embedded script with the designated name and then closes FRED when the script has finished executing. The example below shows how to execute this option.
fred.exe /RunEmbeddedAndQuit=myembeddedscript myfredmodel.frd
For simplicity, the full path location have been excluded from fred.exe and myfredmodel.frd, though they would be required for proper execution.
|