Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement > Venapps > Command Descriptions > SETTING

Setting>EXTERNALFUNCTION|dll name

Scroll Prev Top Next More

Resets the external function library to the named DLL.  It is good practice to include this command preceding the LOADMODEL command.  If you are working with .vmf files it is acceptable to first load the model and then set the external functions.  If you are working with .mdl files and changing the directory you may want to include a small model to first set the directory and then load the complete model as in:

COMMAND,"",0,0,,,,,"SPECIAL>LOADMODEL|empty.mdl",

COMMAND,"",0,0,,,,,"SETTING>EXTERNALFUNCTION|myfunction.dll",

COMMAND,"",0,0,,,,,"SPECIAL>LOADMODEL|mymodel.mdl",