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.

Run comsol from matlab

Please login with a confirmed email address before reporting spam

My comsol version is 5.3 and Matlab is 2018a. I tried to run comsol using livelink for Matlab. I first loaded my comsol file and Matlab gives me following info:

ans = COMSOL Model Object Name: RRAM.mph Tag: Model Identifier: root

Then I typed the following command:

mphgeom(Model)

An error came out: No constructor 'com.comsol.model.Model' with matching signature found.

What does the error mean? Can someone help me with the problem? Thank you.


2 Replies Last Post 12 févr. 2019, 10:28 UTC−5
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 11 févr. 2019, 08:50 UTC−5

You should load the model using model = mphload('RRAM') and then do: mphgeom(model)

-------------------
Lars Gregersen
Comsol Denmark
You should load the model using model = mphload('RRAM') and then do: mphgeom(model)

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 12 févr. 2019, 10:28 UTC−5

That works. Thank you.

That works. Thank you.

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.