I want call python3.4 from the matlab. The default version is python2.7, when I run pyversion in matlab, it shows :
version: '2.7'
executable: '/usr/bin/python'
library: 'libpython2.7.so.1.0'
home: '/usr'
isloaded: 0
and I tested by run py.list() in matlab, it works.
Then I want to change the version to python3, so I run
pyversion(/usr/bin/python3)
to change the version of python.
But now py.list() can not works, is said Undefined variable "py" or class "py.list"..
Additionally, now I run pyversion, the information shows :
version: '3.4'
executable: '/usr/bin/python3.4'
library: ''
home: '/usr'
isloaded: 0
the "library" becomes empty.
How could I solve this to