Python not supported despite having supported version of Python for MATLAB

27 vues (au cours des 30 derniers jours)
Nicholas Ang
Nicholas Ang le 1 Juil 2021
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 commentaire
Mohammad Sami
Mohammad Sami le 1 Juil 2021
Have you installed CPython as required.
You can try specifiying the full path to the python.dll file using the pyenv command.

Connectez-vous pour commenter.

Réponses (1)

Pranjal Kaura
Pranjal Kaura le 30 Sep 2021
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!

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by