Hello;
I am new in Comsol and Matlab Livelink. my question is how can I load two models in Matlab Livelink? For example I try to run the following sample code, but it generates error which I am unable solve. I do appreciate any suggestion.
model1 = mphload('...\mymodel.mph');
model2 = mphload('...\mymodel.mph');
model1.param.set('a','5.0');
model2.param.set('a','0.2');
model1.sol('sol1').run;
model2.sol('sol1').run;
I am new in Comsol and Matlab Livelink. my question is how can I load two models in Matlab Livelink? For example I try to run the following sample code, but it generates error which I am unable solve. I do appreciate any suggestion.
model1 = mphload('...\mymodel.mph');
model2 = mphload('...\mymodel.mph');
model1.param.set('a','5.0');
model2.param.set('a','0.2');
model1.sol('sol1').run;
model2.sol('sol1').run;