Matlab Compiler Excel Add-In MCR Instance Error

Hello, I am working with MATLAB 2017a and testing a trial for MATLAB Compiler. I just created a very simple m function as below
function val=myfun(a,b) val=a+b
and packaged by using the Library compiler. In excel file, I've imported the myfun.bas created in the folder ../myfun/for_redistribution_files_only
but when I use the myfun() function from excel, I got this error:
Error in myfun.Class1.1_0: MCR instance is not available
I ran correctly the MCRInstaller before using the Library Compiler.
Any suggestion how to solve the issue? thank you Best regards, Paolo Tarpanelli

댓글 수: 4

Does this link help to solve your issue?
Vadim Shabelnikov
Vadim Shabelnikov 2017년 8월 31일
편집: Vadim Shabelnikov 2017년 8월 31일
Hi Paolo and Kojiro, I also have the same issue. This link did not help. Does anybody have another solution? I have 64 bit Excel and MATLAB.
Kojiro Saito
Kojiro Saito 2017년 9월 2일
편집: Kojiro Saito 2017년 9월 2일
Could you provide more information?
  • Which MATLAB version?
  • The MATLAB version where you compiled MATLAB scripts to Excel Add-in is the same version of MATLAB Runtime (or MATLAB) you're running the Excel Add-in? And both are 64 bit editions?
MATLAB R2016b (9.1.0.441655) 64-bit (win64). MATLAB Component Runtime (MCR) 9.1, MATLAB Compiler 6.3 Both are 64 bits, and I'm running and compiling at the same machine with the only version of MATLAB.

댓글을 달려면 로그인하십시오.

 채택된 답변

John Robinson
John Robinson 2019년 2월 28일

0 개 추천

There is no anwer for this. Mathworks has been aware of this bug for 10 years,

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2017년 6월 2일

답변:

2019년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by