Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Exporting results in MATLAB
Posted 2011年10月13日 GMT-4 11:08 Version 4.2 0 Replies
Please login with a confirmed email address before reporting spam
First of all, I'm new to comsol, so I'm not very familiar to every matlab command with Comsol.
I have created a Cutline 2D in order to evaluate the average velocity in my model.
My steps were the following,
In COMSOL GUI,
1) Results --> Data Sets --> Cut Line 2D
2) Derived Values --> Average --> Line average
3) Evaluate
COMSOL then gives me a value of the average velocity of the Cut Line 2D.
What I want to do is, using matlab to do so, but at differents Cut Line position, and save the solution.
When I program a Matlab code, it creates an output at the following path
model.result.numerical('av1')
So i'm guessing 'av1' is my average velocity.
My problem is, how to I get into that information ? I can't seem to be able to extract that value.
Can someone help me?
Thank you very much for your time,
Alain
Hello Alain Nguyen
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.