rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
comsol_get_mu_from_comsol_model.m
1 function model=comsol_get_mu_from_comsol_model(model,comsol_model)
2 %function model=comsol_get_mu_from_comsol_model(model,comsol_model)
3 %
4 % This function reads all the values of parameters in the comsol model
5 % that appear in the rbmodel as model.mu_names
6 %
7 % Oliver Zeeb, 10.09.2012
8 
9 
10 
11 for i=1:length(model.mu_names)
12  model.(model.mu_names{i}) = str2double(comsol_model.param.get(model.mu_names{i}));
13 end;