mwArray.dll version error when using matlab dll in a C# application

Hi, I am not an expert in matlab but know a bit of coding.And i was able to convert a sample code into a .dll for using it in a C# application. So my code is a simple code which takes two inputs,processes them and gives back two outputs. But when i gave this code to someone who is into making c#/.net applications,they got the following error "Error CS1705 Assembly 'experiment' with identity 'experiment, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'MWArray, Version=2.16.1.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f' which has a higher version than referenced assembly 'MWArray' with identity 'MWArray, Version=2.11.1.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f' " So what should i do now?I provided him latest mcr since i have the latest 2016b matlab.his machine doesnot have matlab only mcr is installed.Also i dont have any idea about .net/c#.So kindly advise me in simple ways if possible

3 件のコメント

Kojiro Saito
Kojiro Saito 2017 年 2 月 9 日
I'm not sure I can exactly understand your situation.
Did you give him a dll file which you had created using MATLAB Compiler SDK, or did you give him a MATLAB code?
sangeet pillai
sangeet pillai 2017 年 3 月 2 日
i had given him a matlab compiler sdk generated dll to be used in a c# application. I think this problem has been solved. he probably had an older mcr version installed alongwith the latest one that i provided. Probably uninstalling it might have helped
Kojiro Saito
Kojiro Saito 2017 年 3 月 3 日
OK, sounds good.
I think this issue should be closed. Could you answer and close this topic by yourself?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler SDK についてさらに検索

質問済み:

2017 年 2 月 6 日

コメント済み:

2017 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by