Hooking Matlab Online to a local Python installation?
Show older comments
I have a Matlab Home license and access to Matlab Online. Is it possible to connect Matlab Online to a local Python installation?
I have tried setting pyenv('Version', 'local executable location') on several machines but get an error message.
Running pyenv by itself results in:
pyenv
ans =
PythonEnvironment with properties:
Version: "2.7"
Executable: "/usr/bin/python"
Library: "libpython2.7.so.1.0"
Home: "/usr"
Status: NotLoaded
ExecutionMode: InProcess
Accepted Answer
More Answers (1)
Yongjian Feng
on 31 Aug 2021
0 votes
Can you upload your python scripts to the online matlab server?
2 Comments
Walter Roberson
on 31 Aug 2021
The python scripts would then not have access to the local filesystem or local devices, or to running programs that are installed on the MATLAB Home system but not on the MATLAB Online system (and which potentially cannot be installed because MATLAB Online runs Linux.)
Ravi Narasimhan
on 31 Aug 2021
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!