Page 1 of 1

DLL

Posted: Thu Dec 16, 2004 7:46 pm
by rolando
Hi,

In the example: vendll.xls in Excel7

Could anyone tell me how I can get more variable results instead of having just time and population? or a function that brings more than one variable different of time?
For example write in Excel the results of variable Time, Population and Capital, at the same time when I press the button: Simulate the model.

I tried to do it, but what I did is for each variable I want to bring to Excel I add the command ("MENU>RUN"). That works, but each time Vensim what to write the results in Excel, asked me if I want to overwrite the file, so I think that is not the best way to do it, because it needs to run the model as many variables I have.

thank's!

DLL

Posted: Thu Dec 16, 2004 9:12 pm
by rolando
Now I know how to use the vensim_be_quiet() funtion, so I think that it solve the problem of interrogative dialogs. But if you have a better solution, let me know it, please.

Thank you.

DLL

Posted: Thu Dec 16, 2004 9:36 pm
by rolando
Hi,

I solve it, what I did, was to remove the command MENU>RUN for each variable, because that isn't right. So I just run the model ones, and I add for each variable the function vensim_get_data().

Sorry for all this things, but I thought it was more difficult.

Thank, you again.