change python version on linux matlab

1 次查看(过去 30 天)
I'd like to change python version on linux matlab.
The defualt python version is 2.7 and python 2.7 is already loaded.
I want to use python3.6 from matlab.
I tried as
% pyversion 3.6
--> Error using pyversion
Cannot finf specific version.
Moreover
% pyversion 2.7
--> Error using pyversion
Cannot finf specific version.
install path of python is /usr/bin/python, /usr/bin/python36
Please someone show me how to change python version on linux.
My matlab version is 2018b.

回答(1 个)

Etsuo Maeda
Etsuo Maeda 2019-3-27

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by