Error in creating model using COMSOL with MATLAB

Hello,
I'm trying to create a new model on COMSOL with MATLAB using the following code:
model = modelUtil.create('Model');
However, whenever I run the code, I receive the error message below:
No constructor 'com.comsol.model.Model' with matching signature found.
Could you please provide me with information to solve this problem? Thanks!

 Accepted Answer

Walter Roberson
Walter Roberson on 30 Mar 2023
Edited: Walter Roberson on 31 Mar 2023
(Lars posted there:
You should load the model using model = mphload('RRAM') and then do: mphgeom(model)
)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!