Hi,
how can I write a command script to launch after running a simulation? The script should perform:
- select the correct "vdf" file;
- choose "excel" as export format;
- select the "save list" I want;
- set the "time interval" to "12" or whatever else.
I think that the script should be then associated to the "post" processing in the simulation setup.
Thanks, Paolo.
Exporting a dataset using a command script
-
- Super Administrator
- Posts: 4838
- Joined: Wed Mar 05, 2003 3:10 am
You need to create a text file, then use the following command.
MENU>VDF2XLS|!|!|savelist.lst|
This will select the dataset from the last run, and use savelist.lst to select which variables to write to the Excel file.
The full syntax for the command is
MENU>VDF2XLS|vdffile|tabfile|savelist|+[*!number
And detailed descriptions of all the options are here.
http://www.vensim.com/documentation/html/25190.htm
All the best,
Tony.
MENU>VDF2XLS|!|!|savelist.lst|
This will select the dataset from the last run, and use savelist.lst to select which variables to write to the Excel file.
The full syntax for the command is
MENU>VDF2XLS|vdffile|tabfile|savelist|+[*!number
And detailed descriptions of all the options are here.
http://www.vensim.com/documentation/html/25190.htm
All the best,
Tony.