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

3 views (last 30 days)
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

Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!