Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Livelink for MATALB
Posted 1 giu 2012, 08:39 GMT-4 Interfacing Version 4.2a 2 Replies
Please login with a confirmed email address before reporting spam
Hello all,
I'm trying to run a model in MATLAB 2012, built with Comsol 4.2a. Once i export the Comsol model into MATLAb's interface, i can't run it. I've got these error messages:
Error using com.comsol.model.impl.GeomSequenceImpl/setGeom
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: File not found
Messages:
File not found
Stack trace:
at com.comsol.model.util.ModelInternalUtil.getExistingFileOrThrow(Unknown Source)
at com.comsol.geommesh.geom.bx.doExecutePrimitive(Unknown Source)
at com.comsol.geommesh.geom.bq.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.av(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.m(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.E(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aM(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.D(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.setGeom(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a$a.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$g.a(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$g.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: File not found
Messages:
File not found
at com.comsol.model.util.ModelInternalUtil.getExistingFileOrThrow(Unknown Source)
at com.comsol.geommesh.geom.bx.doExecutePrimitive(Unknown Source)
at com.comsol.geommesh.geom.bq.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.av(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.m(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.E(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aM(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.D(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.setGeom(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a$a.run(Unknown Source)
... 3 more
Error in Azerty (line 27)
model.geom('geom1').setGeom('null\Model_geom1.mphbin');
Can someone help me to fix this?
Thanks.
I'm trying to run a model in MATLAB 2012, built with Comsol 4.2a. Once i export the Comsol model into MATLAb's interface, i can't run it. I've got these error messages:
Error using com.comsol.model.impl.GeomSequenceImpl/setGeom
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: File not found
Messages:
File not found
Stack trace:
at com.comsol.model.util.ModelInternalUtil.getExistingFileOrThrow(Unknown Source)
at com.comsol.geommesh.geom.bx.doExecutePrimitive(Unknown Source)
at com.comsol.geommesh.geom.bq.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.av(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.m(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.E(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aM(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.D(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.setGeom(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a$a.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$g.a(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$g.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: File not found
Messages:
File not found
at com.comsol.model.util.ModelInternalUtil.getExistingFileOrThrow(Unknown Source)
at com.comsol.geommesh.geom.bx.doExecutePrimitive(Unknown Source)
at com.comsol.geommesh.geom.bq.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.av(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.m(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.E(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aM(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.D(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.setGeom(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.comsol.clientserver.impl.JobImpl.run(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a.a(Unknown Source)
at com.comsol.server.internal.a$a$a.run(Unknown Source)
... 3 more
Error in Azerty (line 27)
model.geom('geom1').setGeom('null\Model_geom1.mphbin');
Can someone help me to fix this?
Thanks.
2 Replies Last Post 4 giu 2012, 03:20 GMT-4