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.

evaluate material property in matlab livelink

Please login with a confirmed email address before reporting spam

Dear comsolers,

How can I get a value of material property in matlab livelink?

For example, material like 'air' is added from the material library.

Some of material parameters are defined like:

model.material('mat1').propertyGroup('def').func('eta').set('pieces', {'200.0' '1600.0' '-8.38278E-7+8.35717342E-8*T^1-7.69429583E-11*T^2+4.6437266E-14*T^3-1.06585607E-17*T^4'});

Please, would you help me to get the value of 'eta' in matlab livelink?
Is there any way to evaluate a piecewise function or analytical function defined in material node?

Best regards

0 Replies Last Post Mar 13, 2014, 5:00 a.m. EDT
COMSOL Moderator

Hello Saang Bum Kim

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.