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)

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);



0 Replies Last Post Sep 28, 2021, 7:44 a.m. EDT
COMSOL Moderator

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.