Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Matlab with Comsol graphics mode
Posted Oct 11, 2013, 6:39 a.m. EDT Interfacing, Results & Visualization 1 Reply
Please login with a confirmed email address before reporting spam
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
1 Reply Last Post Oct 17, 2013, 9:43 a.m. EDT