Hello guys,
I am using Comsol 4.2a with Matlab for solving a piezoelectricity problem. There, I am excecuting a batch for a parameteric sweep where I would like to see graphical output while solving. So far, I was not able to "switch on" the graphics mode as is mentioned in in the Comsol for matlab manual.
At some point in the matlab files the batch mode is being prepared and then excecuted like this:
model.batch('p1').set('control', 'param2');
model.batch('p1').set('pname', {'d31'});
model.batch('p1').set('plist', d31_range);
model.batch('p1').set('err', true);
model.batch('p1').feature('so1').set('seq', 'sol1');
model.batch('p1').feature('so1').set('psol', 'sol2');
% Execute:
model.batch('p1').run;
Can anyone tell me how I can turn on the graphics mode or enable graphical output while the batch is being executed?
Regards,
Patrick
I am using Comsol 4.2a with Matlab for solving a piezoelectricity problem. There, I am excecuting a batch for a parameteric sweep where I would like to see graphical output while solving. So far, I was not able to "switch on" the graphics mode as is mentioned in in the Comsol for matlab manual.
At some point in the matlab files the batch mode is being prepared and then excecuted like this:
model.batch('p1').set('control', 'param2');
model.batch('p1').set('pname', {'d31'});
model.batch('p1').set('plist', d31_range);
model.batch('p1').set('err', true);
model.batch('p1').feature('so1').set('seq', 'sol1');
model.batch('p1').feature('so1').set('psol', 'sol2');
% Execute:
model.batch('p1').run;
Can anyone tell me how I can turn on the graphics mode or enable graphical output while the batch is being executed?
Regards,
Patrick