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.

Retrieving data in Matlab via LiveLink

Please login with a confirmed email address before reporting spam

Hi,

I'd like to retrieve some data from my Comsol Model via Matlab/LiveLink.
To be more specific:

I want to get the data of a displacement (u2) at the last timestep of my simulation (at 2.5 seconds) on the lower edge of a rectangle.

But how do I specify the lower edge?
I tried

mpheval(my_model, 'u2','t','25','selection','2')

in which '2' should be the selection number of the lower edge (at least this is number displayed, when I'm choosing the lower boundary for boundary conditions).

But that doesn't work.

Matlab claims that the selection with Tag 2 is unknown.

Please help me!

Best regards,
Simon

0 Replies Last Post 2014年3月26日 GMT-4 12:42
COMSOL Moderator

Hello Simon Baeuerle

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.