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

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.

Answers (1)

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:

Products

Release

R2022a

Asked:

on 21 Sep 2022

Answered:

on 23 Sep 2024

Community Treasure Hunt

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

Start Hunting!