Quantcast
Channel: COMSOL Forums: Evaluating Global Expressions in MATLAB
Viewing all articles
Browse latest Browse all 14

Re: Evaluating Global Expressions in MATLAB

$
0
0
Hi Ivar,

I have found the solution:


iout = postglobaleval(fem,{'iOut'})


which returns:



iout =

x: [101x1 double]
y: [101x1 double]
legend: {'iOut'}



I may then access the expression at a single data point with:


iout.y(90)


or plot the results with:


plot(iout.x,iout.y)


Regards,
Tom

Viewing all articles
Browse latest Browse all 14

Trending Articles