Please enable JavaScript to view this site.

Vensim Help

In addition to having Vensim act as a DDE server, it is possible to use special Vensim function calls from within external functions to make Vensim act as a client and allow the processing of information by other applications.  The following lists the functions available for use from within Vensim.  The can be called either using VENGV as (*VENGV->dde_execute) and so on or by using the exported version of the function with the same name and linking with vensim.h.

The included example vddeext.c, vddeext.mdl and vddeext.xls (all in the dde subdirectory) show how to use Vensim to communicate with an Excel spreadsheet.