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 Comment

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

Sign in to comment.

Answers (0)

Categories

Asked:

Moe
on 18 Sep 2012

Community Treasure Hunt

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

Start Hunting!