calling matlab functions from python
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to call matlab functions from python. According to the instructions given in this link for installing the matlab engine module http://www.mathworks.com/help/releases/R2014b/matlab/matlab_external/install-the-matlab-engine-for-python.htmll, I should have a folder called engines in the extern folder. However my extern doesnt contain this folder. I am using matlab R2014 which according to the release notes contains support for this task
0 Commenti
Risposte (1)
Robert Snoeberger
il 8 Mar 2015
Modificato: Robert Snoeberger
il 8 Mar 2015
My first guess would be that you are looking in the extern folder from an older version of MATLAB. What value did you use for matlabroot?
I'm on a mac. In my case, matlabroot is " /Applications/MATLAB_2014b.app/ "
$ ls /Applications/MATLAB_R2014b.app/extern/
engines examples include lib
If I look in the extern folder from an older version, then the engines folder isn't available.
$ ls /Applications/MATLAB_R2013b.app/extern/
examples include lib
3 Commenti
Ken Atwell
il 8 Mar 2015
RD, sorry, the Python interface you are trying to use was added in the "b" release and you have the earlier "a" release. See http://www.mathworks.com/help/matlab/release-notes.html#R2014b
Vedere anche
Categorie
Scopri di più su Call MATLAB from Python in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!