ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Experimenter - Number of Experimental Variables
Hi
Is this variable accesible from the tree or is it calculated from elsewhere? I am looking to set the Number of Variables before importing my experiment list into the Experimenter. Thanks Mike |
#2
|
|||
|
|||
Hi Mike,
The experimenter variables is just a table and the Number of Experiment Variables edit box is updated by looking at the number of columns in that table. You can change the size of this table through code to add more experiment variables using something like the following, to set the table to adjust to 6 variables: Code:
treenode table = node("MAIN:/project/model/Tools/Experimenter/ExperimentVariables"); int numRows = gettablerows(table); int numCols = 6; settablesize(table, numRows, numCols); |
The Following User Says Thank You to mark.gormley For This Useful Post: | ||
michaelsmith (01-10-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
Global variables | juan alberto | Q&A | 5 | 11-10-2010 05:47 PM |
how to get number of itemtype | Vic Li | Q&A | 11 | 08-19-2009 11:20 PM |
the Maxium number of Experiment variables | Vic Li | Q&A | 0 | 02-18-2009 03:47 AM |
Experimenter variables | Xavier Jackson | Gripes and Goodies | 4 | 09-09-2008 10:00 AM |
GUI & linked variables | Iulian Marin Ion | Q&A | 2 | 11-27-2007 10:23 PM |