pyversion
(Not recommended) Change default version of Python interpreter
pyversion
is not recommended. Use pyenv
instead.
Syntax
Description
pyversion
displays details about the current Python® version.
[
returns Python version information.version
, executable
, isloaded
]
= pyversion
___ = pyversion
changes the default Python version on Microsoft®
Windows® platforms. You can request any of the outputs from previous
syntaxes. The setting is persistent across MATLAB® sessions.version
___ = pyversion
specifies the full path to the Python executable. You can use this syntax on any platform or for
repackaged CPython implementation downloads.executable