powered by
Retrieves data from the model, as either a single quantity or an array of values with the appropriate dimensions
get.value.array(instance.handle, value.name, as.enum.types)
A value or array of values, from the model
The handle returned by create.model(), identifying an executable model instance.
Caption path to the model component whose values are required
Logical: whether to supply values as character strings, using enumerated type names if applicable. Default is false: values are numerical.
Jasper Taylor
get.value.list
get.value.array("dummy_ih", "/sector/output", FALSE) # [1] 0.8414710 0.9092974 0.1411200 -0.7568025 -0.9589243 -0.2794155 # [7] 0.6569866 0.9893582 0.4121185 -0.5440211
Run the code above in your browser using DataLab