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.

Livelink for Matlab error

Sinéad Mannion Plasma Physics

Please login with a confirmed email address before reporting spam

Hi All,

How do you extract the results in Livelink with Matlab. I can use mphglobal on the tuning fork example but get an error when I try it on a plasma example

I get an error when I use

mphglobal(model,'plas.ne')

Any help with the commands would be greatly appreciated.

Kind regards

Sinéad


2 Replies Last Post Apr 16, 2020, 8:50 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Apr 15, 2020, 3:14 p.m. EDT

Hi Sinéad,

What kind of error are you getting when using the above command? I am not familiar with the plasma module, but it seems that the dependent variable is plas.Ne, and not plas.ne. Since Comsol is case sensitive, this could possibly be the issue.

Cheers,

Alex

Hi Sinéad, What kind of error are you getting when using the above command? I am not familiar with the plasma module, but it seems that the dependent variable is plas.Ne, and not plas.ne. Since Comsol is case sensitive, this could possibly be the issue. Cheers, Alex

Sinéad Mannion Plasma Physics

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Apr 16, 2020, 8:50 a.m. EDT
Updated: 5 years ago Apr 16, 2020, 8:51 a.m. EDT

Thanks Alex, unfortunately it's not plas.Ne.

I've attached the error and the matlab code if you fancy a look!!! I just think I'm using the wrong Livelink with Matlab commands.

Thanks,

Sinéad

Thanks Alex, unfortunately it's not plas.Ne. I've attached the error and the matlab code if you fancy a look!!! I just think I'm using the wrong Livelink with Matlab commands. Thanks, Sinéad

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.