I am relatively new to SD and vensim. I have figured out how to define variables, read in data from a spreadsheet, etc. Is there a way to switch between reading in the data from the spreadsheet to allowing the user to set the value with a slider.
I was thinking about using IF THEN ELSE:
Variable 1[subscript1, subscript2] =
IF THEN ELSE(switch=1,
GET XLS CONSTANTS('*.xls','Sheet1','B2'),
GAME (50))
I am having trouble getting it to work. Am I on the right track? Is there a better way?
Thanks
switching data entry options
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm