Getting Mathworks::system::simpleexception when running Matlab R2013a x64 DLL from MFC program
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
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?
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!