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.
Error running Comsol for Matlab Live Link: Java Exception occurred
Posted Feb 15, 2012, 7:11 p.m. EST 0 Replies
Please login with a confirmed email address before reporting spam
This is the error while running the .m file in matlab.
By the way, the running procedure takes a long time (2 minutes) compared to comsol (5 seconds)
your help is appreciated
Error using com.comsol.model.impl.ResultFeatureImpl/set
Java exception occurred:
Exception:
com.comsol.nativeutil.properties.InvalidPropertyValueException: X
can be:#x-axis data
Messages:
Invalid property value
X can be:#x-axis data
A string
- : "auto"
An integer
-
- Property: xaxisdata
Stack trace:
at com.comsol.nativeutil.properties.g.c(Unknown Source)
at com.comsol.nativeutil.properties.g.set(Unknown Source)
at com.comsol.model.internal.impl.PropValueImpl.set(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl.a(Unknown Source)
at com.comsol.model.internal.impl.PropFeatureImpl$p.a(Unknown
Source)
at com.comsol.model.internal.impl.PropFeatureImpl$p.execute(Unknown
Source)
at com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown
Source)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Error in weak (line 1206)
model.result('pg2').feature('tblp1').set('xaxisdata', '2');
Hello Christian Ortiz
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.