Linux MATLAB .Net runtime error- Unable to find an entry point named 'memcpy_proxy' in shared library 'mclmcrrt9_12.dll

10 次查看(过去 30 天)
I get "Unable to find an entry point named 'memcpy_proxy' in shared library 'mclmcrrt9_12.dll'".
I have an ASP .Net 6.0 application on a Linux Docker container with MATLAB's MATLAB_Runtime_R2022a_Update_5_glnxa64 installed.

回答(1 个)

Meet
Meet 2024-9-23,6:58
Hi Anoop,
I encountered a similar issue in MATLAB R2022a, and upgrading to MATLAB R2022b successfully resolved it for me.
If upgrading is not an option for you, there is another solution you can try, If you are attempting to create an "MWNumericArray" in R2022a and encountering an error, consider using casting instead of a constructor. Casting not only resolves the issue but also offers better performance for creating large arrays.
For example,
Instead of this code:
MWNumericArray n = new MWNumericArray(new double[] { 2, 3 });
You could do the following:
MWNumericArray n = (MWNumericArray)(new double[] { 2, 3 });
You could refer to the following MATLAB Answer for more information:

类别

Help CenterFile Exchange 中查找有关 Deploy to .NET Applications Using MWArray API 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by