Configure Matlab to use Python without pyenv
Afficher commentaires plus anciens
I am trying to call Python from Matlab R2019a on a Windows 10 PC. I have Python 3.7 installed under Spyder 3, but Matlab cannot see it.
>> pyversion
version: ''
executable: ''
library: ''
home: ''
isloaded: 0
3 commentaires
Mario Malic
le 24 Sep 2020
Modifié(e) : Mario Malic
le 24 Sep 2020
pyversion supports input argument of path to exe file, so maybe that could work.
% PYVERSION(EXECUTABLE) specifies full path to Python executable. Use on
% any platform or for repackaged CPython implementation downloads.
Otherwise, try adding exe file on search path, that might be able to run it without input argument.
Matt J
le 25 Sep 2020
madhan ravi
le 25 Sep 2020
+1 had the same question yesterday but on a Mac :)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call Python from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!