Copying Array Elements Between
Models
When you copy an element defined using a set of array labels A collection of labels identifying the items of an array. (i.e., an element with vector A one-dimensional array. or matrix A two-dimensional array. outputs) to another model, you must ensure that the set(s) of array A collection of variables that share common output attributes and can be manipulated in GoldSim elements or input expressions. labels referenced by the element in the two models are consistent. In particular, GoldSim imposes the following rules:
- If the set(s) of array labels referenced by the element already exist in the model into which it is being pasted, the number of items in the set(s) must be identical in both models. Note that it is not necessary that the set labels be identical, as long as the number of items is identical.
- If the set(s) of array labels referenced by the element do not exist in the model into which it is being pasted, GoldSim will automatically create them in the new model.
Learn more
Related topics…
- Array Functions
- Copying Array Elements Between Models
- Defining Arrays in an Input Field Using Array Constructor Functions
- Defining Vectors and Matrices Using Data Elements
- Defining Vectors Using Stochastic Elements
- Displaying Final Value Results for Matrices
- Displaying Final Value Results for Vectors
- Elements That Can Manipulate Arrays
- Manipulating Vectors and Matrices with Other Elements
- Referencing an Item of an Array
- Understanding Array Labels
- Using a Vector as a Lookup Table
- Viewing an Array in a Browser or Interface
- Viewing Array Results
- Viewing Results for Arrays
- Viewing Time Histories for Array Outputs
- Viewing Time Histories of Multiple Realizations for an Array