Search found 4584 matches

by Administrator
Mon Nov 15, 2010 10:01 am
Forum: Vensim
Topic: external function / constant matrices
Replies: 10
Views: 6312

If you mark the function down has having user managed loops (in this example, it would have to be 2), you can work out what subscript elements you are dealing with.
by Administrator
Thu Nov 11, 2010 2:42 pm
Forum: Vensim
Topic: After update to 5.10 c error msg for random function
Replies: 5
Views: 4214

What values do you have for x_bar and stdev?
by Administrator
Thu Nov 11, 2010 8:04 am
Forum: Vensim
Topic: Vensim help on simulating a model
Replies: 16
Views: 8289

What version of Vensim are you using?
by Administrator
Wed Nov 10, 2010 12:05 pm
Forum: Vensim
Topic: single/double precision - external dll
Replies: 18
Views: 9946

I cannot understand what the problem is here.

The line
sprintf(tmp_str, "input: %1.20f", x);

prints a number with 20 decimal places. So the results you have look ok.

What exactly is the problem?
by Administrator
Tue Nov 09, 2010 3:28 pm
Forum: Vensim
Topic: Problem with model
Replies: 9
Views: 7303

Don't use the simultaneous function or a find zero function here (they are not suitable). What you need to do is treat imported rice as a separate stock. Start by duplicating the structure you have for Rice Stock (so you will have "imported rice stock", which is increased by "import&q...
by Administrator
Mon Nov 08, 2010 7:48 pm
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

Have a screen where you set constants (like final time etc). Then move to a new screen when you start the run where you can change the gaming decisions.
by Administrator
Mon Nov 08, 2010 5:50 pm
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

That's the reason. FINAL TIME is a constant, you cannot modify it during a game (you can only change it before the game starts).
by Administrator
Mon Nov 08, 2010 3:12 pm
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

Are you running a game while trying to access the listbox?
by Administrator
Mon Nov 08, 2010 3:12 pm
Forum: Vensim
Topic: Problem with model
Replies: 9
Views: 7303

Post the model and I'm sure someone will help.
by Administrator
Sun Nov 07, 2010 11:55 pm
Forum: Vensim
Topic: Empty LISTVAR
Replies: 10
Views: 5604

Can you post anything here that demonstrates the error?
by Administrator
Sun Nov 07, 2010 11:53 pm
Forum: Vensim
Topic: Prevent negative stock
Replies: 4
Views: 8903

Upload the model to the forum and we can take a look.
by Administrator
Fri Nov 05, 2010 12:59 pm
Forum: Vensim
Topic: (Excel and Vensim)link
Replies: 68
Views: 50128

Try
worsheets("Sheet2").cells(5,12)

This is VBA though, searching Google will provide much more help than asking here.
by Administrator
Tue Nov 02, 2010 4:06 pm
Forum: Vensim
Topic: Lookup function
Replies: 6
Views: 3980

You need to give us a bit more information about what you are trying to do.
by Administrator
Tue Nov 02, 2010 4:05 pm
Forum: Vensim
Topic: Working with Venapp
Replies: 12
Views: 6476

Do you want to email it to me direct (tony@vensim.com) and I'll take a look?
by Administrator
Tue Nov 02, 2010 1:51 pm
Forum: Vensim
Topic: Working with Venapp
Replies: 12
Views: 6476

You can just type in GAME.

Eg if you had a constant before called "INITIAL STAFF" = 0 change it to "INITIAL STAFF" = GAME(0).
by Administrator
Tue Nov 02, 2010 7:49 am
Forum: Vensim
Topic: MODTABLE
Replies: 5
Views: 3330

I don't think there is a MODTABLE equivalent, but you can put a Venapp command button on a button, something like
"SIMULATE>1TABCHG|LOOKUP TABLE NAME".

Tony.
by Administrator
Thu Oct 28, 2010 2:13 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53087

I've replied to you via email.

Tony.
by Administrator
Thu Oct 28, 2010 1:42 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53087

There seems to be a DDE problem here.

Give me a short while and I'll generate an example using the Vensim DLL.

Tony.
by Administrator
Thu Oct 28, 2010 11:11 am
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53087

You will need to upload the model and spreadsheet for us to take a proper look. If you would prefer to email them to me direct I can take a look (tony@vensim.com).
by Administrator
Thu Oct 28, 2010 7:38 am
Forum: Vensim
Topic: Working with Venapp
Replies: 12
Views: 6476

I've tried it and it works for me.

Do you have a model loaded before you try these commands?
by Administrator
Thu Oct 28, 2010 7:32 am
Forum: Vensim
Topic: Custom graph in Venapp not showing the correct run
Replies: 3
Views: 2306

Does the custom graph show up ok in Vensim itself?

And can you post the custom graph set and a model to go with the venapp? I cannot investigate the problem without these.
by Administrator
Thu Oct 28, 2010 7:28 am
Forum: Vensim
Topic: Subscript
Replies: 2
Views: 1985

You cannot do this.

Can you post the model here and maybe we can tell you what you should be doing?
by Administrator
Wed Oct 27, 2010 10:16 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53087

Try MENU>RUN|o and see if that solves the problem.
by Administrator
Wed Oct 27, 2010 10:09 am
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 53087

>> when I link vensim and excel, I use another excel file for >> my variable in vensim and in vensim I used it's adress, now I >> want to close automatically the data excel window after run micro >> and run vensim.what can I do? This is all in Matlab code isn't it? You will need to ask on a Matlab f...
by Administrator
Sat Oct 23, 2010 7:43 am
Forum: Vensim
Topic: Printing problem on 5.10.b
Replies: 9
Views: 5975

Vensim 5.10c was uploaded yesterday. Can you give that a try and see if it fixes the problem?

Tony.