Set a model's parameters from a file saved by Simile

Share:

Description

Parameter metafiles (.spf) saved from within Simile can contain information about a model's parameter values, either locally or as references to other files. They may refer to the whole model or a submodel.

Usage

1
consult.parameter.metafile(instance.handle,param.file,target.submodel="")

Arguments

instance.handle

The handle returned by create.model() identifying the model instance.

param.file

Location of the parameter metafile.

target.submodel

Pathname of the submodel into which the parameters are to be loaded. Default is the top level.

Value

None

Author(s)

Jasper Taylor

Examples

1
consult.parameter.metafile("dummy_ih", "../data/base_vals.spf")