Python Matlab引擎安装 [英] Python Matlab Engine Install

查看:199
本文介绍了Python Matlab引擎安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试为python安装matlab引擎,因此我可以从我的python脚本中调用matlab函数.

Ive been trying to install matlab engine for python so I can call matlab functions from within my python scripts.

我正在使用的指南是这样的:

The guide Im using is this one: http://uk.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html

它说setup.py文件位于matlabroot \ extern \ engines \ python中,但是我的extern文件夹不包含engines文件夹(仅示例,包括,lib)

It says the setup.py file is located in matlabroot\extern\engines\python, however, my extern folder does not contain an engines folder (only examples, include, lib)

我看错地方了吗?还是有另一种安装此方法的方法?我使用matlab 2012b和python 2.7是否有帮助

Am I looking in the wrong place? Or is there another way to get this installed? Im using matlab 2012b and python 2.7 if that makes a difference

推荐答案

看看Matlab 2014的发行说明,直到R2014b才存在Python引擎,所以我认为您将无法使用它在2012年.

Looking at the release notes for Matlab 2014, the Python engine didn't exist until R2014b, so I don't think you'll be able to use it in 2012.

http://uk.mathworks.com/help/matlab/release-notes.html

这篇关于Python Matlab引擎安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆