Using Matlab with Ubuntu, Anaconda and Python
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sebastian Malert
el 13 de Sept. de 2020
Comentada: Ameer Hamza
el 15 de Sept. de 2020
I'm using Ubuntu 20.04 LTS. I would like to use Matlab with a specific Anaconda environment. I found out that I have to use the functions pyversion or pyenv to set the path to the python executable file. Which file exactly do I have to link? (~/anaconda3/env/py377/bin/???)
2 comentarios
Ameer Hamza
el 15 de Sept. de 2020
Anaconda environment works fine with MATLAB. I tried on mac, and there does not seem to be any issue.
Respuesta aceptada
Ameer Hamza
el 13 de Sept. de 2020
To python executable
pyenv('Version', '~/anaconda3/envs/p37/bin/python')
2 comentarios
Ameer Hamza
el 14 de Sept. de 2020
Editada: Ameer Hamza
el 14 de Sept. de 2020
Are you typing
pyversion('Version', '~/anaconda3/envs/p37/bin/python')
The correct is
pyversion('~/anaconda3/envs/p37/bin/python')
I didn't get any error on running this.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!