Error installing Python on Matlab
5 ビュー (過去 30 日間)
I'm trying to install python on Matlab2014b to call some Matlab script from Python. I add the Python path in Matlab and write the following command:
python setup.py install
(where matlabroot is the path where Matlab is installed) but I get the following error:
"Undefined function 'python' for input arguments of type 'char'"
I controlled and in the current folder the file"setup.py" exists. Where I am wrong?
Bo Li 2016 年 9 月 22 日
You are supposed to run the command from the system prompt, not MATLAB command window:
"To install the engine API, execute the following commands at the operating system prompt, where matlabroot is the path to the MATLAB folder."