Clear Filters
Clear Filters

Matlab Engine API for python

5 views (last 30 days)
Nalla Muthu
Nalla Muthu on 6 Nov 2023
Answered: Infinite_king on 11 Jan 2024
I am trying to install Matlab Engine API for python. I have getting the error as Acess denied. I have changed the settings of Matlab to full control, still the problem is not resolved. Let me know how to install.
Following error is repeating
Yongjian Feng
Yongjian Feng on 7 Nov 2023
Why do you run "system('python install')" in matlab command line window instead of running "python install" directly on a terminal? They shall be the same in most cases, but you might not get enough priviledges when running inside matlab.
Nalla Muthu
Nalla Muthu on 8 Nov 2023
Hi Yongian Feng,
I have tried in system prompt but same error is repeating. I have tried python install in Matlab is showing error as unrecongnized function or variable python

Sign in to comment.

Answers (1)

Infinite_king on 11 Jan 2024
Hi Nalla Muthu,
The issue appears to be related to a lack of directory permissions. To potentially resolve the issue, you can follow the troubleshooting steps outlined below,
  1. Check if you have read/write access to the location 'C:\Program Files\WindowsApps'. Write access is needed for the installation.
  2. Open the Command prompt or MATLAB in administrator mode.
  3. Make sure the following requirements are met,,Requirements,-Required%20MathWorks%20Products
  4. Checkout the following troubleshooting steps,,Troubleshooting%20MATLAB%20Engine%20API%20for%20Python%20Installation,-Make%20sure%20that
Hope this is helpful.


Find more on Introduction to Installation and Licensing in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!