Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement - Compiling, Automation & Publishing > Venapps > Command Descriptions > FILE

FILE>MDL2VMFX, MDL2XML, MDL2XMILE, VMFX2MDL, VMF2XML, VMF2XMILE

Scroll Prev Top Next More

These commands convert a model file from one format to another without opening it, so the model currently loaded is unaffected. Each takes one argument, filename, and writes a file with the same name and the new extension in the same directory.

•FILE>MDL2VMFX|filename reads a text model (.mdl) and writes it in binary form (.vmfx). FILE>MDL2VMF is the older name for the same command.

•FILE>MDL2XML|filename writes a text model as .xml.

•FILE>MDL2XMILE|filename writes a text model in XMILE format (.xmile).

•FILE>VMFX2MDL|filename reads a binary model (.vmfx) and writes it as text (.mdl). FILE>VMF2MDL is the older name.

•FILE>VMF2XML|filename writes a binary model as .xml. FILE>VMFX2XML is the same command.

•FILE>VMF2XMILE|filename writes a binary model in XMILE format. FILE>VMFX2XMILE is the same command.

The commands that read a binary model use the .vmfx file of that name, whatever extension you give. They are not available in the Vensim DLL.

FILE>MDL2VMFX|mymodel.mdl

FILE>VMF2XMILE|mymodel.vmfx