I can successfully pass a value to a variable using Matlab but somehow I'm having a hard time passing a function (like RANDOM UNIFORM).
I tried this (see below), and other things but i can't get it to work. Could somebody help me?
Code: Select all
GR = 'RANDOM UNIFORM (10, 20, 0)'; %GR is a GAMING variable in my model
comstr = ['SIMULATE>SETVAL|Growth rate =', GR];
callib('VenDLL32','vensim_command',comstr);
Olivia