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.

Extract data from comsol to matlab

Please login with a confirmed email address before reporting spam

Dear All,

I am running the parameter scan simulation. After that the case is extremely so that I can't open by GUI.

I want to check the integration of loss of one domain changing with three scanned parameter.

I need to extract these data from COMSOL to Matlab by livelink

How should I write the command in matlab script?

Thanks for the help in advance.

Best regards
Yanrui

1 Reply Last Post 1 déc. 2014, 04:22 UTC−5
Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 1 déc. 2014, 04:22 UTC−5
Dear Yanrui,

what you need is the command mphglobal, in your case

power= mphglobal(model,'int_v(emw.Qh)')

should do the job. See detailed answers in your support case.

Best regards,
Sven

Dear Yanrui, what you need is the command mphglobal, in your case power= mphglobal(model,'int_v(emw.Qh)') should do the job. See detailed answers in your support case. Best regards, Sven

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.