Error about combining MATLAB mex file and ModeFrontier

Hi everybody I linked MATLAB mex file with ModeFrontier. During running I get this error:
from job_err file:
com.jacob.com.ComFailException: Can't map name to dispid: execute
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:625)
at it.esteco.jacob.JacobDispatch.callMethod(JacobDispatch.java:48)
at it.esteco.activex.ActiveXAdapter.callMethod(ActiveXAdapter.java:51)
at it.esteco.integration.matlab.job.win.MatlabApplication.execute(MatlabApplication.java:76)
at it.esteco.integration.matlab.job.win.MatlabWin.execute(MatlabWin.java:177)
at it.esteco.integration.matlab.job.win.MatlabWin.execute(MatlabWin.java:197)
at it.esteco.integration.matlab.job.MatlabIntegration.cleanUp(MatlabIntegration.java:326)
at it.esteco.integration.matlab.job.MatlabIntegration.start(MatlabIntegration.java:114)
at it.esteco.jobagent.integration.StaIntegrationJob$3.call(StaIntegrationJob.java:51)
at it.esteco.jobagent.integration.StaIntegrationJob$3.call(StaIntegrationJob.java:48)
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:619)
from jvm_err file:
Client RMI URL: rmi://127.0.0.1:13879/it.esteco.jobagent.JobAgent/2409635/1478546034052
Server jvmerr log file: D:\Program Files\MATLAB\R2014a\ModeFrontier\MyCode_00001\log\01000-01999\01103\Matlab9_00000\jvm_err.log
Nov 7, 2016 11:07:02 PM it.esteco.integration.matlab.job.MatlabIntegration start
WARNING: A COM exception has been encountered:
At Invoke of: execute
Description: 800706be / The remote procedure call failed.
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: execute
Description: 800706be / The remote procedure call failed.
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:625)
at it.esteco.jacob.JacobDispatch.callMethod(JacobDispatch.java:48)
at it.esteco.activex.ActiveXAdapter.callMethod(ActiveXAdapter.java:51)
at it.esteco.integration.matlab.job.win.MatlabApplication.execute(MatlabApplication.java:76)
at it.esteco.integration.matlab.job.win.MatlabWin.execute(MatlabWin.java:179)
at it.esteco.integration.matlab.job.MatlabIntegration.evaluateScript(MatlabIntegration.java:305)
at it.esteco.integration.matlab.job.MatlabIntegration.start(MatlabIntegration.java:107)
at it.esteco.jobagent.integration.StaIntegrationJob$3.call(StaIntegrationJob.java:51)
at it.esteco.jobagent.integration.StaIntegrationJob$3.call(StaIntegrationJob.java:48)
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:619)

답변 (1개)

Kaige Tan
Kaige Tan 2019년 4월 18일

0 개 추천

Hi! I got almost the same error with you. Have you figured out where is the problem and how to solve it? Thanks!

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2016년 11월 7일

댓글:

2020년 3월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by