Matlab Automation COM server Deployment Issue : Works only on Host PC

Hello,
I have an issue deploying my C# software that references the MlApp.dll COM server. The problem is that when I compile the C# application on PC #1, everything runs fine using the normal: matlab = new MLApp.MLApp();
But, if I then attempt to run this application on PC #2, also with Matlab installed, matlab = new MLApp.MLApp(); returns an exception.
Furthermore, if I re-compile the C# application on the PC #2, and then run the application, everything is fine, but this binary will not work on PC#1.
Has anyone every seen this behavior? Any suggestions would be appreciated.
Thanks

댓글 수: 1

Do the two have the same version of MATLAB? And both 32 bit or 64 bit?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Write COM Applications to Work with MATLAB에 대해 자세히 알아보기

질문:

Moe
2012년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by