Linux MWArray.dll failed to Initialized

8 ビュー (過去 30 日間)
Saurabh Kumar
Saurabh Kumar 2024 年 8 月 29 日
編集済み: Swastik Sarkar 2024 年 8 月 29 日
Hi!
I have developed a .NET app in which I used some matlab functions that I wrote and compiled with Matlab R2023b .NET assembly compiler.
I installed MATLAB runtime (the file name that I downloaded was: MATLAB_Runtime_R2023b_Update_9_glnxa64) on my PC which runs Debian . but library test error.
Error Message:
System.Exception : MWArray assembly failed to be initialized
----> System.Exception : The MATLAB Runtime instance could not be initialized
----> System.ApplicationException : The MATLAB Runtime instance could not be initialized
Error initializing MATLAB Runtime: Application not supported on glnxa64 due to platform dependencies. Intended platforms include: win64,. For more information, please contact the application author.
where do I find the location of the MWArray.dll for glnxa64. the toolbox folder doesn't have 'dotnetbuilder' in linux.

回答 (1 件)

Swastik Sarkar
Swastik Sarkar 2024 年 8 月 29 日
編集済み: Swastik Sarkar 2024 年 8 月 29 日
It appears that the .NET application was compiled on Windows and is being executed on a Linux system, resulting in the error Application not supported on glnxa64. To resolve this issue, the application must be compiled directly on a Linux system to ensure compatibility.
For guidance on compiling a .NET application on Linux, please refer to this example:
Hope this helps.

カテゴリ

Help Center および File ExchangeDeploy to .NET Applications Using MWArray API についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by