未定义变量 "ModelUtil" 或类 "ModelUtil.create"

30 ビュー (過去 30 日間)
Ge Tang
Ge Tang 2019 年 9 月 19 日
コメント済み: fei 2025 年 8 月 5 日
1568880926(1).jpg

回答 (2 件)

Qirui Yang
Qirui Yang 2023 年 7 月 19 日
未在matlab中定义comsol model object methods
请尝试在您的程序前加入:
import com.comsol.model.*
import com.comsol.model.util.*

凡凡 郝
凡凡 郝 2024 年 12 月 9 日
还是不行,仍然报错
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown geometry
Messages:
未知几何。
- 标记: geom
  2 件のコメント
fei
fei 2025 年 8 月 5 日
我也出现了,之前程序还能用,现在不行了
fei
fei 2025 年 8 月 5 日
我想起来了,你要通过comsol with matlab上打开matlab运行

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

カテゴリ

Help Center および File Exchange使用 MATLAB 进行面向对象的设计 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!