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

Antworten (2)

Qirui Yang
Qirui Yang am 19 Jul. 2023

0 Stimmen

未在matlab中定义comsol model object methods
请尝试在您的程序前加入:
import com.comsol.model.*
import com.comsol.model.util.*
凡凡 郝
凡凡 郝 am 9 Dez. 2024

0 Stimmen

还是不行,仍然报错
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown geometry
Messages:
未知几何。
- 标记: geom

2 Kommentare

fei
fei am 5 Aug. 2025
我也出现了,之前程序还能用,现在不行了
fei
fei am 5 Aug. 2025
我想起来了,你要通过comsol with matlab上打开matlab运行

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 使用 MATLAB 进行面向对象的设计 finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 19 Sep. 2019

Kommentiert:

fei
am 5 Aug. 2025

Community Treasure Hunt

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

Start Hunting!