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.
Trouble with Livelink-tutorial
Posted 2013年5月25日 GMT-4 09:54 Interfacing, Geometry Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I am trying to set up the busbar example taken from the 'Introduction to LiveLink for MATLAB'-PDF.
I am using Ubuntu 12.04, MATLAB 2013a and COMSOL 4.3a. I am able to proceed until mphgeom() is called the first time to plot the geometry. It gives me the following error:
>> mphgeom(model,'geom1')
Error using mphpatch (line 124)
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: You need to provide input objects
Messages:
You need to provide input objects
Stack trace:
at com.comsol.geommesh.geom.z.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.k(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aW(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.runAll(Unknown Source)
at com.comsol.geommesh.geom.al.j(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(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.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$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.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aN(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$l.a(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$l.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.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: You need to provide input objects
Messages:
You need to provide input objects
- Property: input
at com.comsol.geommesh.geom.z.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.k(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aW(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.runAll(Unknown Source)
at com.comsol.geommesh.geom.al.j(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(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.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a$a.run(Unknown Source)
... 3 more
Error in /usr/local/comsol43a/mli/mphgeom.p>mphgeom (line 86)
--
Is there a fix for this?
Thank you!
I am trying to set up the busbar example taken from the 'Introduction to LiveLink for MATLAB'-PDF.
I am using Ubuntu 12.04, MATLAB 2013a and COMSOL 4.3a. I am able to proceed until mphgeom() is called the first time to plot the geometry. It gives me the following error:
>> mphgeom(model,'geom1')
Error using mphpatch (line 124)
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: You need to provide input objects
Messages:
You need to provide input objects
Stack trace:
at com.comsol.geommesh.geom.z.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.k(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aW(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.runAll(Unknown Source)
at com.comsol.geommesh.geom.al.j(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(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.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$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.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aN(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$l.a(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl$l.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.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: You need to provide input objects
Messages:
You need to provide input objects
- Property: input
at com.comsol.geommesh.geom.z.a(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.F(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.k(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.aW(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.runAll(Unknown Source)
at com.comsol.geommesh.geom.al.j(Unknown Source)
at com.comsol.geommesh.geom.f.execute(Unknown Source)
at com.comsol.model.internal.impl.GeomFeatureImpl.au(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.l(Unknown Source)
at com.comsol.model.internal.impl.GeomSequenceImpl.serverBuild(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.b.a(Unknown Source)
at com.comsol.server.internal.b.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a.a(Unknown Source)
at com.comsol.server.internal.b$a$a.run(Unknown Source)
... 3 more
Error in /usr/local/comsol43a/mli/mphgeom.p>mphgeom (line 86)
--
Is there a fix for this?
Thank you!
1 Reply Last Post 2013年5月28日 GMT-4 09:36