MATLAB y Python, empieza a usarlos juntos
조회 수: 1 (최근 30일)
이전 댓글 표시
Estoy empezando a usar MATLAB y Python juntos, pero tengo un problema al momento de instalar e importar ciertas librerias para que se ejecuten varios entornos, dandome como respuesta acceso denegado, a alguien mas le ha ocurrido este inconveniente y si es posible me pueda faciliat cual fue la solucion que le resulto conveniente, el video del cual me estoy guiando es este: https://la.mathworks.com/videos/matlab-and-python-how-to-start-using-them-together-1649351332170.html?s_v1=41840&elqem=3669650_EM_LA_LWB_22-03_MATLAB-AND-PYTHON-PART-1_POST_CERT&elqTrackId=3148e61690144856b0b3f2a38a3e7d0a&elq=3a65788387594192b3b678f9ce39aa93&elqaid=41840&elqat=1&elqCampaignId=15420 , muchas gracias por sus respuestas.
댓글 수: 0
답변 (1개)
Shivang
2023년 10월 23일
Hi Alfredo,
Estaré respondiendo tu pregunta en inglés.
I understand that you are getting an "access denied" error while trying to use MATLAB and Python together.
Based on the error message, and the contents of the video you referred to, I suspect you encountered this error while trying to install the MATLAB Engine API for Python using the "setup.py" Python script.
You must open the command prompt with the "Run as administrator" option, when entering the commands to install the MATLAB Engine API. Not doing so throws up the "Access is denied" error, which is what you encountered.
Additionally, there is an alternate way to install the MATLAB Engine API for Python, using the 'pip' package manager. Refer to the documentation for more details: https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html
Hope this helps.
Regards,
Shivang.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!