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 件のコメント

Walter Roberson
Walter Roberson 2017 年 10 月 25 日
?? It is not clear how Mathematica fits into a MATLAB question ?
F R
F R 2017 年 10 月 25 日
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
Walter Roberson
Walter Roberson 2017 年 10 月 25 日
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 2017 年 10 月 25 日
yes

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2017 年 10 月 25 日

0 投票

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 件のコメント

F R
F R 2017 年 10 月 25 日
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 2017 年 10 月 25 日
@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 2017 年 10 月 25 日
It is Matlab2014b, I followed all the installation instructions.
F R
F R 2017 年 10 月 25 日
I opened the math.dll in the dependency walker, and there are some other modules which are missing, Could you help with this?
Walter Roberson
Walter Roberson 2017 年 10 月 25 日
The A* complaints from DependencyWalker are false readings.
F R
F R 2017 年 10 月 26 日
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

F R
2017 年 10 月 25 日

コメント済み:

F R
2017 年 10 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by