Zaman
Zaman

Reputation: 37

Install matlab engine for Python when trial version of MATLAB is installed in Windows

How to install matlab engine for Python when trial version of MATLAB is installed in Windows? I tried with the following in command window:

cd C:\....\extern\engine\python
python setup.py install

But command window shows an error:

running install
running build
running build.py
creating build
error: Could not create 'build': Access is denied.

Is it happening because of the trial version? I use a trial version of MATLAB 2015b which connects to internet and asks for password during start of MATLAB in MATLAB GUI. I am using Python (x,y) 2.7. How to install matlab engine with this trial version of MATLAB 2015b?

Upvotes: 2

Views: 1277

Answers (1)

H.S.Xu
H.S.Xu

Reputation: 174

I've met the same problem just like you, and my solution is right clicking the icon of powershell then choose Run ISE with admin, then do what you do before, and you can install matlab engine successfully.

Upvotes: 3

Related Questions