problem running .net code with matlab 2012b
Show older comments
I am trying to run a c sharp code with matlab 2012b. I am building he code with 'any cpu' option. It compiles fine but in execution I get the following error
"The assembly with display name 'MWArray' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.BadImageFormatException: Could not load file or assembly 'MWArray, Version=2.12.1.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f' or one of its dependencies. An attempt was made to load a program with an incorrect format."
In GAC I can see that the WMArray of same version is registered. I am working on windows 7 in 64bit env.
Please suggest where I might be missing.
Thanks
Jeet
2 Comments
jeet
on 20 May 2013
Kaustubha Govind
on 20 May 2013
Jeet: Please post your solution as an "Answer" so we know that this issue is resolved. Thanks!
Answers (1)
cary li
on 17 Jun 2013
0 votes
have you found the solution to this problem? i have the same problem. can you post the solution? thank you very much.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!