get.value.list | R Documentation |
Retrieves data from the model, as either a single quantity or a possibly nested list of values
get.value.list(instance.handle, value.name, as.enum.types)
instance.handle |
The handle returned by create.model(), identifying an executable model instance. |
value.name |
Caption path to the model component whose values are required |
as.enum.types |
Logical: whether to supply indices and values as character strings, using enumerated type members if applicable. Default is false: indices are integers and values are numerical. |
A value or index-value list, from the model
Jasper Taylor
get.value.array
get.value.list("dummy_ih", "/runs/x", "FALSE") # [[1]] # [1] 40.76668 # # [[2]] # [1] 37.52907 # # [[3]] # [1] 33.82021 # # [[4]] # [1] 29.69413