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 MATLAB
Posted Oct 25, 2018, 7:37 a.m. EDT LiveLink for MATLAB, COMSOL Server Version 5.2 0 Replies
Please login with a confirmed email address before reporting spam
when I run the program from MATLAB, the run are usually errors with message shown below, please any help or hint
Error using A (line 165) Java exception occurred: Exception: com.comsol.util.exceptions.FlException: X can be:#Selection (rethrown as com.comsol.util.exceptions.FlException) (rethrown as com.comsol.util.exceptions.FlException) Messages: X can be:#Selection
X can be:#Selection
Invalid property value.
'Selection' can be.:
A string
- : ""
An integer
- : "1"
- Property: solnum
Stack trace:
at com.comsol.clientapi.engine.c.handleException(Unknown Source)
at com.comsol.client.interfaces.f$d.e(Unknown Source)
at com.comsol.client.interfaces.f.a(Unknown Source)
at com.comsol.client.interfaces.f.runAndWait(Unknown Source)
at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)
at com.comsol.clientapi.impl.PropFeatureClient.set(Unknown Source)
Caused by: Exception: com.comsol.util.exceptions.FlException: X can be:#Selection (rethrown as com.comsol.util.exceptions.FlException) Messages: X can be:#Selection
Invalid property value.
'Selection' can be.:
A string
- : ""
An integer
- : "1"
- Property: solnum
at com.comsol.clientapi.engine.c.handleException(Unknown Source)
at com.comsol.client.interfaces.f.a(Unknown Source)
at com.comsol.client.interfaces.f.processCommandAnswer(Unknown Source)
... 5 more
Caused by: Exception: com.comsol.util.exceptions.FlException: X can be:#Selection Messages: Invalid property value.
'Selection' can be.:
A string
- : ""
An integer
- : "1"
- Property: solnum
at com.comsol.nativeutil.properties.j.i_(Unknown Source)
at com.comsol.nativeutil.properties.j.set(Unknown Source)
at com.comsol.model.method.PropValueUtil.propertySet(Unknown Source)
at com.comsol.model.internal.impl.PropValueImpl.set(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl.d(Unknown Source)
at com.comsol.model.internal.impl.ResultFeatureImpl.d(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl.c(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl$2.a(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl$2.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManager$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Hello Riyadh Naife
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.