Using sdeverywhere I have generated the C code of my Vensim model using the following command:
Code: Select all
sde build mymodel.mdl --spec mymodel.json
Code: Select all
#define _GAME(x) (x)
Code: Select all
_myvariable = _GAME(0.0);
Code: Select all
sde build mymodel.mdl --spec mymodel.json
Code: Select all
#define _GAME(x) (x)
Code: Select all
_myvariable = _GAME(0.0);
Code: Select all
_myvariable = 3.1415926