当前位置: 首页 > 工具软件 > Matlab4CRE > 使用案例 >

comsol编写的matlab乱码,用Matlab运行COMSOL生成的M文件时遇到问题,求指教

易星宇
2023-12-01

小弟今天试着用Matlab运行Comsol生成的M文件,但是运行的时候出现如下错误:

Java exception occurred:

java.lang.IllegalStateException: Not active:

CDOTransaction(1)

at

org.eclipse.net4j.util.lifecycle.LifecycleUtil.checkActive(LifecycleUtil.java:67)

at

org.eclipse.net4j.util.lifecycle.Lifecycle.checkActive(Lifecycle.java:169)

at

org.eclipse.emf.internal.cdo.view.CDOViewImpl.hasResource(CDOViewImpl.java:380)

at

com.comsol.model.clientserver.ClientManagerImpl.hasResource(Unknown

Source)

at

com.comsol.model.util.ModelManager.getUniqueResourcePath(Unknown

Source)

at com.comsol.model.util.ModelManager.create(Unknown

Source)

at

com.comsol.model.util.ModelInternalUtil.create(Unknown

Source)

at

com.comsol.model.util.ModelInternalUtil.create(Unknown

Source)

at com.comsol.model.util.ModelUtil.create(Unknown

Source)

Error in mymodle (line 13)

model = ModelUtil.create('Model');

M文件是Comsol自动生成的,没做修改,也是在Comsol with Matlab中运行的,出现这种情况的原因是什么呢?

 类似资料: