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 Comments

?? It is not clear how Mathematica fits into a MATLAB question ?
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 ?

Sign in to comment.

Answers (1)

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 Comments

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.
@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.
It is Matlab2014b, I followed all the installation instructions.
I opened the math.dll in the dependency walker, and there are some other modules which are missing, Could you help with this?
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

Sign in to comment.

Categories

Asked:

F R
on 25 Oct 2017

Commented:

F R
on 26 Oct 2017

Community Treasure Hunt

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

Start Hunting!