Calling python using system function
Ältere Kommentare anzeigen
I try to run "python -V" using the system function.
[flag, cmdout] = system('python -V');
However, the flag returns an error of 9009.
Typing "Python -V" directly into the command prompt returns the Python version, so Python is already installed and passed through.
Is it not possible to use the system function to call "Python XX"?
I am using MATLAB 2020b, Python3.6.0
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!