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 Feb 12, 2019, 10:28 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Feb 11, 2019, 8:50 a.m. EST

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: 5 years ago Feb 12, 2019, 10:28 a.m. EST

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.