1 function mu = get_mu_default(model)
2 %
function mu = get_mu_default(model)
4 %
function getting the current parameter vector mu in the model
struct
6 % required fields of model:
7 % mu_names : cell array of strings, indicating the fields, whcih are read
8 % by the current routine
10 % Bernard Haasdonk 20.7.2006
12 mu = zeros(length(model.mu_names),1);
14 mu(i) = model.(model.mu_names{i});