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.

comsol 4.2a with matlab R2011a

Please login with a confirmed email address before reporting spam

Hi,
I saved the comsol file in matlab as told. The tutorial says open ''COMSOL with MATLAB''. What does that mean?
Also i get an error as follows when i run the m file of the comsol model.

Undefined variable "ModelUtil" or class "ModelUtil.create".

Error in ==> modelmfile at 10
model = ModelUtil.create('Model');

4 Replies Last Post 18 mag 2013, 05:40 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 mag 2013, 03:50 GMT-4
Hi

the COMSOL with Matlab, is normally an icon that the installer set on your desktop (or you find it in Start Programmes COMSOL (if you had Matlab installed when you installed COMSOL)

This launches Matlab with the link to COMSOL

--
Good luck
Ivar
Hi the COMSOL with Matlab, is normally an icon that the installer set on your desktop (or you find it in Start Programmes COMSOL (if you had Matlab installed when you installed COMSOL) This launches Matlab with the link to COMSOL -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 mag 2013, 07:08 GMT-4
Thanks for your reply..
Should comsol be installed after installing Matlab?
Matlab is not recognising comsol at all...What can i do sir?
Thanks for your reply.. Should comsol be installed after installing Matlab? Matlab is not recognising comsol at all...What can i do sir?

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 mag 2013, 10:59 GMT-4
Hi

no it's COMSOL that recognises Matlab and not the other way so have matlab up first THEN comsol

Check the knowledge base there are some instructions there too


--
Good luck
Ivar
Hi no it's COMSOL that recognises Matlab and not the other way so have matlab up first THEN comsol Check the knowledge base there are some instructions there too -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 18 mag 2013, 05:40 GMT-4
Sir
Now I have got the Comsol with matlab icon. I am not sure how the output file will be after importing to matlab . I have loaded the mph file with the mphload command but am really clueless how to proceed from that. I din get any convincing help from outside sources.
My requirement:
I actually want my comsol model as a blockset in MATLAB which i can later construct as a circuit.
Sir Now I have got the Comsol with matlab icon. I am not sure how the output file will be after importing to matlab . I have loaded the mph file with the mphload command but am really clueless how to proceed from that. I din get any convincing help from outside sources. My requirement: I actually want my comsol model as a blockset in MATLAB which i can later construct as a circuit.

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.