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!

 Réponse acceptée

Walter Roberson
Walter Roberson le 30 Mar 2023
Modifié(e) : Walter Roberson le 31 Mar 2023

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by