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

조회 수: 31 (최근 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 CenterFile Exchange에서 使用 MATLAB 进行面向对象的设计에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!