Python not supported despite having supported version of Python for MATLAB

조회 수: 29 (최근 30일)
Nicholas Ang
Nicholas Ang 2021년 7월 1일
답변: Pranjal Kaura 2021년 9월 30일
Hi all, I am using MATLAB r2021a, I have different python versions installed, including 3.7 and 3.8 which is supported by MATLAB. However, I am unable to check if MATLAB can regonize any python installation. Is there a path that I need to point for MATLAB? If so, how should I do it?
Thanks!
  댓글 수: 1
Mohammad Sami
Mohammad Sami 2021년 7월 1일
Have you installed CPython as required.
You can try specifiying the full path to the python.dll file using the pyenv command.

댓글을 달려면 로그인하십시오.

답변 (1개)

Pranjal Kaura
Pranjal Kaura 2021년 9월 30일
Hey Nicholas,
You can go through the steps mentioned in the 'Configure Your System to Use Python' documentation to call python modules from MATLAB. In particular, you can go through the 'Set Python Version on Windows/Mac/Linux (Based on your OS)' subsection.
Please verify that python is correctly installed on your system. To do that open the Python interpreter from your system prompt and call Python functions.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by