[M,Assigned] = assign(M,P)
[M,Assigned] = assign(M,N)
[M,Assigned] = assign(M,Name,Value,Name,Value,...)
[M,Assigned] = assign(M,List,Values)
% Initialise
assign(M,List);
% Fast assign
M = assign(M,Values);
...
M = assign(M,Values);
...
M = assign(M,'-level',...)
M = assign(M,'-growth',...)
M
[ model ] - Model object.
P
[ struct ] - Database whose fields refer to parameter names, variable names, std deviations, or cross-correlations.
N
[ model ] - Another model object from which all parameteres (including std erros and cross-correlation coefficients), and steady-states values will be assigned that match the name and type in M
.
Name
[ char ] - A parameter name, variable name, std deviation, cross-correlation, or a regular expression that will be matched against model names.
Value
[ numeric ] - A value (or a vector of values in case of multiple parameterisations) that will be assigned.
List
[ cellstr ] - A list of parameter names, variable names, std deviations, or cross-correlations.
Values
[ numeric ] - A vector of values.
M
[ model ] - Model object with newly assigned parameters and/or steady states.
Assigned
[ cellstr | Inf
] - List of actually assigned parameter names, variables names (steady states), std deviations, and cross-correlations; Inf
indicates that all values has been assigned from another model object.