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!

 採用された回答

Walter Roberson
Walter Roberson 2023 年 3 月 30 日
編集済み: Walter Roberson 2023 年 3 月 31 日

0 投票

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

1 件のコメント

Barnabas Adeyemi
Barnabas Adeyemi 2023 年 3 月 31 日
移動済み: Walter Roberson 2023 年 3 月 31 日
This works. Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by