Getting Mathworks:​:system::s​impleexcep​tion when running Matlab R2013a x64 DLL from MFC program

1 view (last 30 days)
Hi, We have an MFC Visual Studio 2012 application that uses Matlab functions in a Matlab DLL. Everything worked fine while we used a DLL compiled by Matlab compiler R2011b, but now that we are trying to move to R2013a, Every time I get a new Matlab compiled DLL from our algorithmic team, the first time the MFC application tries to run it, I get the following exception: LINK or: <http://i50.tinypic.com/2lnk938.png> If I click Continue, everything seems to work fine from this point on, and the next time I run my application it works fine, without the exception. But the moment I update the compiled DLL from our algorithmic team, I get the exception again. Any Ideas?

Answers (1)

Adwin Timmer
Adwin Timmer on 23 Apr 2014
Hi, We have the same problem running MCR R2013a x64 on Windows Server 2008 R2 Enterprise. We use Matlab functions compiled as .NET assembly within a .NET 4.0 application. Every time the Matlab compiled assembly changes this exception is thrown on the first usage.
We are highly interested on an answer. Is this behavior well known? Do you know how to fix it?
  1 Comment
Danny Shain
Danny Shain on 23 Apr 2014
We still haven't found a solution for this. We use the very old MCRInstaller-2011b[x64] cause it didn't have this horrible bug.

Sign in to comment.

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!