DLL

Use this forum to post Vensim related questions.
Post Reply
rolando
Member
Posts: 22
Joined: Wed Dec 08, 2004 6:11 pm

DLL

Post 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!
rolando
Member
Posts: 22
Joined: Wed Dec 08, 2004 6:11 pm

DLL

Post 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.
rolando
Member
Posts: 22
Joined: Wed Dec 08, 2004 6:11 pm

DLL

Post 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.
Post Reply