The specified module could not be found! matlab 2014b

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

?? It is not clear how Mathematica fits into a MATLAB question ?
F R
F R le 25 Oct 2017
this is a matlab code, when I need to send some complicated equations to send to mathematica to solve and get it back; it's the matlab that I use and I get this error in matlab, so it's matlab related question
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
F R le 25 Oct 2017
yes

Connectez-vous pour commenter.

Réponses (1)

Jan
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
F R le 25 Oct 2017
It was working perfectly previously, but since I reinstalled matlab and mathematica I got this problem. I checked http://dependencywalker.com/ but was not that helpful for me, or I could not follow much which module is missing.
Jan
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
F R le 25 Oct 2017
It is Matlab2014b, I followed all the installation instructions.
F R
F R le 25 Oct 2017
I opened the math.dll in the dependency walker, and there are some other modules which are missing, Could you help with this?
The A* complaints from DependencyWalker are false readings.
F R
F R le 26 Oct 2017
I added the libmx.dll and libmex.dll which were missing to the directory of the missing dll and also I added the original directory of these dll files to the path. But, still getting the same problem

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Question posée :

F R
le 25 Oct 2017

Commenté :

F R
le 26 Oct 2017

Community Treasure Hunt

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

Start Hunting!

Translated by