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)