The specified module could not be found! matlab 2014b
Afficher commentaires plus anciens
With a simple math('2+2') I get an error message of: Invalid MEX-file 'C:\Users\Advanced\Includes\External\mathematica\mathematicaWINDOWS\math.dll': The specified module could not be found.
And when I check this directory the file math.dll is there! this path is also on the system path. Anybody can help with this?
4 commentaires
Walter Roberson
le 25 Oct 2017
?? It is not clear how Mathematica fits into a MATLAB question ?
F R
le 25 Oct 2017
Walter Roberson
le 25 Oct 2017
Mathworks does not provide a function named math() or a link to connect to Mathematica. Where did you obtain the function? Is it https://www.mathworks.com/matlabcentral/fileexchange/6044-mathematica-symbolic-toolbox-for-matlab-version-2-0 ?
F R
le 25 Oct 2017
Réponses (1)
Jan
le 25 Oct 2017
0 votes
It is not "math.dll", which is missing, but a module used inside this library. Did it run before? Does it run on another computer? Did you follow the installation instructions carefully? Do you have Mathematica installed?
You can use the DependyWalker to find missing modules. Perhaps you only forgot to install the required runtime libraries of the compiler.
6 commentaires
F R
le 25 Oct 2017
Jan
le 25 Oct 2017
@F R: The error message tells you, that a module is missing. The DependencyWalker is the perfect tool for finding missing modules. When you explain, that its output is not useful for you, but do not mention any details, how can we help you? We cannot do this for you, because it matters, what is installed on your computer. So the only chance is to take the time to learn, how to use this program.
Again: Did you install this tool as explained in the documentation? See the "Installation instructions for Windows.doc". There was some work to do beside installing Matlab, Mathematica and starting this DLL.
Did you install a modern Version of Matlab? Note that this tool was written in 2004 and was designed to work with old MSVC compilers.
F R
le 25 Oct 2017
F R
le 25 Oct 2017
Walter Roberson
le 25 Oct 2017
Make sure that libmex and libmx are on the system PATH variable. See https://www.mathworks.com/matlabcentral/answers/7650-mex-function-error-module-could-not-be-found-checked-with-dependency-walker-and-added-the-folder-to#comment_16192
The A* complaints from DependencyWalker are false readings.
F R
le 26 Oct 2017
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!