Why do I get the error: "The dynamic link library libmmfile.dll could not be found in the specified path." even though I have installed the runtime libraries?

16 views (last 30 days)
I get the following error even though I have installed the runtime libraries:
The dynamic link library libmmfile.dll could not be found in the specified path
A listing of directories from the system PATH variable then follows this error. The library installation directory IS listed, what could be the problem?
I have run the MGLINSTALLER utility on a Microsoft Windows machine where I wish to install my MATLAB Compiler generated application.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Apr 2011
The problem usually occurs due to a lack of global permissions on the MATLAB Runtime Library files, and the directory in which they are installed.
To prevent this error please log into the machine as an administrator and change the permission of the following directory such that everyone has the ability to read it and the files located in it.
$MATLABROOT\toolbox\runtime
(where $MATLABROOT is the MATLAB root directory on your machine)
Please note that $MATLABROOT can be replaced with $MCRROOT
(where $MCRROOT is the MATLAB Compiler Runtime root directory on your machine)

More Answers (0)

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!