question

Visakh Sakulan avatar image
0 Likes"
Visakh Sakulan asked Brenton King answered

Adding variables in experimenter by code

Hi, I'm trying to build a experiment with more than 50 variable referenced from a global table column. I am able to do this using the standard options in experimenter, but I wanted to know weather there is any code that I can execute, which will add the global table value as a variable in experimenter.

FlexSim 17.1.2
codeglobal tablesexperimenter variable
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Brenton King avatar image
0 Likes"
Brenton King answered

Unfortunately, there isn't an easier way than using the sampler for every variable. The only "easier" way could be to use the sampler for the first one and then copy the same path for all of your variables and then edit the path manually to change the row#...kinda tedious I know. You may want to ask yourself if it is really such a good idea to do an experiment with 50+ variables though.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.