rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
comsol_set_mu_from_rbmatlab_model.m
1 function cmodel = comsol_set_mu_from_rbmatlab_model(model,cmodel)
2 %function cmodel = comsol_set_mu_from_rbmatlab_model(model,cmodel)
3 %
4 % Function taking the mus from rbmatlab model and setting them in the comsol
5 % model
6 %
7 % Oliver Zeeb
8 % 27.08.12
9 
10 
11 mu = get_mu(model);
12 
13 for i=1:length(mu(:))
14  cmodel.param.set(model.mu_names{i},mu(i));
15 end;