Matlab Automation COM server Deployment Issue : Works only on Host PC
3 views (last 30 days)
Show older comments
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
Walter Roberson
on 18 Sep 2012
Do the two have the same version of MATLAB? And both 32 bit or 64 bit?
Answers (0)
See Also
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!