Concat Vectors

Use this forum to post Vensim related questions.
Post Reply
Camila
Junior Member
Posts: 12
Joined: Tue Apr 21, 2009 8:45 pm

Concat Vectors

Post by Camila »

I am trying to define a variable with 4 subscripts in which the first input is another variable and the others are numbers, something like this:

X[Subscripts]=(Y, 1, 2, 3)

Is it possible?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

you will need to use

sub : s1,sconst
sconst: s2,s3,s4

x[s1] = y
x[sconst] = 1,2,3

[Edited on 5-2-2010 by Administrator]
Post Reply