Error about combining MATLAB mex file and ModeFrontier

4 次查看(过去 30 天)
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
Hi! I got almost the same error with you. Have you figured out where is the problem and how to solve it? Thanks!

类别

Help CenterFile Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by