Linux MWArray.dll failed to Initialized

조회 수: 8 (최근 30일)
Saurabh Kumar Jindal
Saurabh Kumar Jindal 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 CenterFile Exchange에서 Deploy 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