Linux MWArray.dll failed to Initialized

9 次查看(过去 30 天)
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