dear all,

thanks for help to connect matlab with comsol i want to plot a 1-D diagram in MATLAB from COMSOL graph and I face with this error!

Error using ma (line 102)

Java exception occurred:

Exception:

com.comsol.util.exceptions.FlException: Selected edges are not connected

Messages:

Selected edges are not connected.

- Plot: lngr1 (Line graph)

Stack trace:

at com.comsol.post.m.a(SourceFile:2332)

at com.comsol.post.m.a(SourceFile:2090)

at com.comsol.post.dataset.ai.a(SourceFile:1029)

at com.comsol.post.dataset.ao.a(SourceFile:724)

at com.comsol.post.plot.aa.a(SourceFile:132)

at com.comsol.post.plot.s.a(SourceFile:170)

at com.comsol.post.plot.am.getPostData(SourceFile:356)

at com.comsol.post.plot.am.getRenderData(SourceFile:224)

at com.comsol.model.method.ResultFeatureMethod.j(SourceFile:434)

at com.comsol.model.method.ResultFeatureMethod.getRenderPostData(SourceFile:454)

at com.comsol.model.dbmodel.ResultFeatureDb.getRenderPostData(SourceFile:242)

at com.comsol.model.method.ResultFeatureMethod.i(SourceFile:374)

at com.comsol.model.method.ResultFeatureMethod.getGroupRenderPostData(SourceFile:423)

at com.comsol.model.dbmodel.ResultFeatureDb.getGroupRenderPostData(SourceFile:252)

at com.comsol.model.method.ResultFeatureMethod.run(SourceFile:519)

at com.comsol.model.dbmodel.ResultFeatureDb.run(SourceFile:181)

at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.comsol.bridge.command.b.a(SourceFile:145)

at com.comsol.bridge.command.b.run(SourceFile:90)

at com.comsol.bridge.command.i.execute(SourceFile:45)

at com.comsol.bridge.command.j.d(SourceFile:711)

at com.comsol.bridge.command.j.a(SourceFile:699)

at com.comsol.bridge.command.j$3.a(SourceFile:600)

at com.comsol.bridge.command.j$3.call(SourceFile:1)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

also, I used mphplot function in matlab.

would you please tell me when this error occurred and shall I solve it?

many thanks.

best wishes,

More Mahdi Alibeigi's questions See All
Similar questions and discussions