Why do I receive an error when I run a MATLAB-created executable?

1 view (last 30 days)
I get the following error message when I run a MATLAB-created executable:
The procedure entry point ##### could not be located in the dynamic-link library ###.dll

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Dec 2009
This error indicates that you have multiple installations of either MATLAB or the MATLAB Math and Graphics Run-Time Libraries on your computer. The error occurs because, when the executable is running, your system is attempting to link against the DLL corresponding to an older version of MATLAB or MATLAB Math and Graphics Run-Time Libraries (files created by MGLINSTALLER) installation.
To resolve this problem, change your system path variable such that the \bin\win32 directory in the installation directory of the later MATLAB release or MATLAB Math and Graphics Run-Time Libraries appears first on the system path. For information on setting your path, see the Related Solution.

More Answers (0)

MathWorks Support

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!