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 script

Please login with a confirmed email address before reporting spam

Hey,

I tried to run my Livelink Matlab script perfectly in 5.2 version before I upgraded to 5.2a. So now I am facing the problem to run the same Matlab script in 5.2a version (I could not to interpolate the excel file). Could you please help me to solve it. Thanks



2 Replies Last Post Feb 17, 2017, 2:45 a.m. EST

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Feb 16, 2017, 6:30 p.m. EST
By the way, this is the error message:


Error using ModelStudy (line 338)
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following
feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem

The following feature has encountered a problem:

Failed to load file for interpolation function.
- File: C:\Program
Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv

Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol1/st1)


Stack trace:

at
com.comsol.clientapi.engine.c.handleException(SourceFile:27)

at com.comsol.client.interfaces.g$d.e(SourceFile:533)

at com.comsol.client.interfaces.g.a(SourceFile:240)

at
com.comsol.client.interfaces.ClientWebSocketCommandManager.a(SourceFile:468)

at
com.comsol.client.interfaces.g.runAndWait(SourceFile:219)

at
com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:235)

at
com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:218)

at
com.comsol.clientapi.impl.SolverSequenceClient.runAll(SourceFile:94)

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following
feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem:

Failed to load file for interpolation function.
- File: C:\Program
Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv

Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol1/st1)


at
com.comsol.clientapi.engine.c.handleException(SourceFile:27)

at com.comsol.client.interfaces.g.a(SourceFile:375)

at
com.comsol.client.interfaces.ClientWebSocketCommandManager.a(SourceFile:489)

at
com.comsol.client.interfaces.g.processCommandAnswer(SourceFile:331)

at com.comsol.client.interfaces.g$d.e(SourceFile:531)

... 6 more

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following
feature has encountered a problem
Messages:
The following feature has encountered a problem:

Failed to load file for interpolation function.
- File: C:\Program
Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv

Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol1/st1)


at interputil.cpp. Row: 214(Detail: :0)

at com.comsol.nativejni.xmesh.Xmesh.addElems(Native Method)

at
com.comsol.nativejni.xmesh.Xmesh.addElems(SourceFile:418)

at com.comsol.nativemph.xmesh.Xmesh.a(SourceFile:526)

at
com.comsol.model.method.XMeshNativeMethod.meshextend(SourceFile:479)

at
com.comsol.model.method.ModelMethod.meshextend(SourceFile:491)

at
com.comsol.model.internal.impl.ModelImpl.a(SourceFile:4418)

at
com.comsol.model.internal.impl.ModelImpl.a(SourceFile:4405)

at
com.comsol.model.internal.impl.ModelImpl.meshextend(SourceFile:3973)

at
com.comsol.model.internal.impl.ModelImpl.meshextend(SourceFile:5885)

at
com.comsol.solver.solution.SolverAnalysis.doGenSavePoint(SourceFile:382)

at
com.comsol.solver.solution.SolverAnalysis.a(SourceFile:309)

at
com.comsol.solver.solution.SolverAnalysis.doExecute(SourceFile:190)

at
com.comsol.solver.SolverOperation.execute(SourceFile:203)

at
com.comsol.solver.SolverOperation.addError(SourceFile:342)

at
com.comsol.solver.SolverOperation.execute(SourceFile:207)

at
com.comsol.model.method.SolverSequenceMethod.doRun(SourceFile:2075)

at
com.comsol.model.internal.impl.SolverSequenceImpl.a(SourceFile:3871)

at
com.comsol.model.internal.impl.SolverSequenceImpl.j(SourceFile:3866)

at
com.comsol.model.internal.impl.SolverSequenceImpl$23.a(SourceFile:719)

at
com.comsol.model.internal.impl.SolverSequenceImpl$23.execute(SourceFile:1)

at
com.comsol.model.clientserver.ClientManager$1.call(SourceFile:169)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)
By the way, this is the error message: Error using ModelStudy (line 338) Java exception occurred: Exception: com.comsol.util.exceptions.FlException: The following feature has encountered a problem (rethrown as com.comsol.util.exceptions.FlException) (rethrown as com.comsol.util.exceptions.FlException) Messages: The following feature has encountered a problem The following feature has encountered a problem The following feature has encountered a problem: Failed to load file for interpolation function. - File: C:\Program Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv Error in multiphysics compilation. - Feature: Compile Equations: Time Dependent (sol1/st1) Stack trace: at com.comsol.clientapi.engine.c.handleException(SourceFile:27) at com.comsol.client.interfaces.g$d.e(SourceFile:533) at com.comsol.client.interfaces.g.a(SourceFile:240) at com.comsol.client.interfaces.ClientWebSocketCommandManager.a(SourceFile:468) at com.comsol.client.interfaces.g.runAndWait(SourceFile:219) at com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:235) at com.comsol.clientapi.engine.APIEngine.runMethod(SourceFile:218) at com.comsol.clientapi.impl.SolverSequenceClient.runAll(SourceFile:94) Caused by: Exception: com.comsol.util.exceptions.FlException: The following feature has encountered a problem (rethrown as com.comsol.util.exceptions.FlException) Messages: The following feature has encountered a problem The following feature has encountered a problem: Failed to load file for interpolation function. - File: C:\Program Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv Error in multiphysics compilation. - Feature: Compile Equations: Time Dependent (sol1/st1) at com.comsol.clientapi.engine.c.handleException(SourceFile:27) at com.comsol.client.interfaces.g.a(SourceFile:375) at com.comsol.client.interfaces.ClientWebSocketCommandManager.a(SourceFile:489) at com.comsol.client.interfaces.g.processCommandAnswer(SourceFile:331) at com.comsol.client.interfaces.g$d.e(SourceFile:531) ... 6 more Caused by: Exception: com.comsol.util.exceptions.FlException: The following feature has encountered a problem Messages: The following feature has encountered a problem: Failed to load file for interpolation function. - File: C:\Program Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv Error in multiphysics compilation. - Feature: Compile Equations: Time Dependent (sol1/st1) at interputil.cpp. Row: 214(Detail: :0) at com.comsol.nativejni.xmesh.Xmesh.addElems(Native Method) at com.comsol.nativejni.xmesh.Xmesh.addElems(SourceFile:418) at com.comsol.nativemph.xmesh.Xmesh.a(SourceFile:526) at com.comsol.model.method.XMeshNativeMethod.meshextend(SourceFile:479) at com.comsol.model.method.ModelMethod.meshextend(SourceFile:491) at com.comsol.model.internal.impl.ModelImpl.a(SourceFile:4418) at com.comsol.model.internal.impl.ModelImpl.a(SourceFile:4405) at com.comsol.model.internal.impl.ModelImpl.meshextend(SourceFile:3973) at com.comsol.model.internal.impl.ModelImpl.meshextend(SourceFile:5885) at com.comsol.solver.solution.SolverAnalysis.doGenSavePoint(SourceFile:382) at com.comsol.solver.solution.SolverAnalysis.a(SourceFile:309) at com.comsol.solver.solution.SolverAnalysis.doExecute(SourceFile:190) at com.comsol.solver.SolverOperation.execute(SourceFile:203) at com.comsol.solver.SolverOperation.addError(SourceFile:342) at com.comsol.solver.SolverOperation.execute(SourceFile:207) at com.comsol.model.method.SolverSequenceMethod.doRun(SourceFile:2075) at com.comsol.model.internal.impl.SolverSequenceImpl.a(SourceFile:3871) at com.comsol.model.internal.impl.SolverSequenceImpl.j(SourceFile:3866) at com.comsol.model.internal.impl.SolverSequenceImpl$23.a(SourceFile:719) at com.comsol.model.internal.impl.SolverSequenceImpl$23.execute(SourceFile:1) at com.comsol.model.clientserver.ClientManager$1.call(SourceFile:169) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Feb 17, 2017, 2:45 a.m. EST
Why don't you check your s6_1_T4.csv file?

Failed to load file for interpolation function.
- File: C:\Program
Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv

Why don't you check your s6_1_T4.csv file? Failed to load file for interpolation function. - File: C:\Program Files\COMSOL\COMSOL52a\Multiphysics\mli\startup\Dec10\s6_1_T4.csv

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.