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.
Getting error while running COMSOL Multiphysics LiveLink(TM) for MATLAB(R)
Posted 28 sept. 2021, 07:44 UTC−4 Structural Mechanics Version 5.6 0 Replies
Please login with a confirmed email address before reporting spam
I run the matlab code using liveLink so many times, but getting same error after 18 iterations. I am atteching the code file below.
Error using DSP (line 244) Java exception occurred: java.lang.NullPointerException
at com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:214)
at com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:197)
at com.comsol.clientapi.impl.SolverSequenceClient.runAll(SourceFile:852)
Error in finding_optimum (line 20) d = DSP(l,b,h,l2,w,th,tc);
Attachments:
Hello Rahul Kumar
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.