Pasting Data into Arrayed Variables

Special Note: Importing data into an arrayed variable in your model via Paste follows the same basic process as for non-arrayed variables. There are several exceptions to note. (See the Chapter 11 for details on working with Arrays.)

1) Apply To All is checked in the arrayed variable's dialog.

2) There is the same number of data points in the data set to be pasted as there are cells in the arrayed variable (number of cells = number of elements in column * number of elements in row).

3) The data are enclosed in square brackets [] and all data points are separated by commas. The correct format for a column of data is illustrated here.

 

[Note: If the data are being imported from a spreadsheet, a column of commas can be created alongside the column of data. Square brackets should be put in front of the first number and after the last number. Copying them together will bring the data in the necessary format.]

  • A data set that defines the initial value(s) of an individual element within an arrayed Conveyor or Queue can be pasted if the data are separated by commas, as seen here. If Apply To All is selected, the initial values will apply to all elements within the Conveyor or Queue.

See Also