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!