フィルターのクリア

"MWArray assembly failed to be initialized" error occurs with Matlab 2022b after upgrading to Windows 11

7 ビュー (過去 30 日間)
Hello,
I have upgraded Matlab to R-2022b, and Windows to Win 11, and above error occurs.
None of thje suggestions in the forums have worked.
It is a WinForms aplication, developed in C#, Visual Studio 2019. Code works perfect on Win 10, Matlab 2021
Can somebody help, please?
Thank you

採用された回答

Programmer x.0
Programmer x.0 2022 年 11 月 3 日
Hello evereybody,
With the help of Mathorks Tech Support (thank you, Noé B), I got this solved, going through the following steps:
  • Check if the MATLAB Runtime version installed is compatible with the MATLAB version being used. You can use the command "mcrinstaller" to see the installed version and its path.
  • Ensure all dependencies and references in the code are correct.
  • Remove any Simulink models and code from the MATLAB path since MATLAB Compiler cannot compile Simulink models/code.
  • Check if any function in your code is not supported by MATLAB Compiler. You can view this list here.
  • Once everything checked and in ordfer, re-compile all libraries you want to use on R-2022b / Win 11

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by