Hey!
I have a question concerning the evaluation of results via Matlab:
I added a line-integral to my model in the Comnsol-desktop which I can see in the exported m-file as:
model.result.numerical.create('int1', 'IntLine');
model.result.numerical('int1').selection.set([2 7]);
model.result.numerical('int1').set('probetag', 'none');
Now I would like to access the value of this line integral after the simulation in matlab. What is the right command for this?
I tried
model.result.numerical('int1').getInt
model.result.numerical('int1').getIntArray
...
and so on but all I got were error messages like:
'No method 'getInt' with matching signature found for class 'com.comsol.model.impl.NumericalFeatureImpl'.'
Ho can I access the value of this line-integral?
Thank you very much!
Oli
I have a question concerning the evaluation of results via Matlab:
I added a line-integral to my model in the Comnsol-desktop which I can see in the exported m-file as:
model.result.numerical.create('int1', 'IntLine');
model.result.numerical('int1').selection.set([2 7]);
model.result.numerical('int1').set('probetag', 'none');
Now I would like to access the value of this line integral after the simulation in matlab. What is the right command for this?
I tried
model.result.numerical('int1').getInt
model.result.numerical('int1').getIntArray
...
and so on but all I got were error messages like:
'No method 'getInt' with matching signature found for class 'com.comsol.model.impl.NumericalFeatureImpl'.'
Ho can I access the value of this line-integral?
Thank you very much!
Oli