From MathWork documentation I've found this: Set Python Version
However I am not sure what to type in the command line on Matlab. I have python version 2.7
Should the command be
according to docs in your answer
To set the version, type:
where executable is the full path to the Python executable file.
to check version docs Display Python Version for Your System
pyversion version: '2.7' executable: 'C:\Python27\python.exe' library: 'C:\windows\system32\python27.dll' home: 'C:\Python27' isloaded: 0