i am having MWArray error

1 回表示 (過去 30 日間)
Muhammad Omer
Muhammad Omer 2013 年 11 月 6 日
編集済み: Muhammad Omer 2013 年 11 月 10 日
when i compile C# program having class of matlab it generates following error ..
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "MWArray, Version=2.12.0.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
HELP PLEASE ...

採用された回答

Friedrich
Friedrich 2013 年 11 月 6 日
Hi,
the error message tells the whole story. Adjust the processor archticture of your project. For now it's MSIL and adjusting to to x64 should resolve that error.
  2 件のコメント
Muhammad Omer
Muhammad Omer 2013 年 11 月 9 日
編集済み: Muhammad Omer 2013 年 11 月 10 日
thank you so much Friedrich ... ive another question .... how can i use a matlab function with variables as parameters in C# ... can you help me with that .. thnxx
Muhammad Omer
Muhammad Omer 2013 年 11 月 9 日
ive done it BTW but it generates an error of too many output arguments ...

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeploy to C++ Applications Using mwArray API (C++03) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by