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.

Transferring values to MATLAB using Livelink

Please login with a confirmed email address before reporting spam

I have constructed a COMSOL model and exported it as a .m file. In the model, I have a derived value corresponding to the strain energy integrated over the volume of my system which I want to extract from COMSOL into Matlab. I have tried using model.result.numerical(<variable_name>).getReal(); as suggested by one source online, but it returned an empty array. Do you know a way to extract this sot of value which might work? If it is helpful, I attached my .m file.


0 Replies Last Post Jul 1, 2013, 5:04 p.m. EDT
COMSOL Moderator

Hello Emory Brown

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.