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!

 Respuesta aceptada

Walter Roberson
Walter Roberson el 30 de Mzo. de 2023
Editada: Walter Roberson el 31 de Mzo. de 2023

0 votos

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

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 30 de Mzo. de 2023

Editada:

el 31 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by