Is it possible to call Python directly from MATLAB Online?

조회 수: 3 (최근 30일)
Corey Slick
Corey Slick 2017년 5월 4일
댓글: Hisham 2017년 6월 20일
I'd like to run Python (using the "py." notation...) from within MATLAB scripts via MATLAB Online. Is this possible? I see that Python 2.7 is installed on the linux server that the MATLAB Online instance is running on (via "system('which python')"), and I am able to use the system() function to run python externally. However, using the "py." notation from within MATLAB produces the error "Undefined variable "py" or class "py.textwrap".".
Is it possibly to run Python in this fashion from MATLAB online?
Also, is it possible to - even temporarily, within a given session - install additional Python packages on the linux server running a MATLAB Online session?
  댓글 수: 1
Hisham
Hisham 2017년 6월 20일
Hi Corey! This has been addressed and the feature should be available in your next MATLAB Online session. Please let us know if you have any other comments or questions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Python Package Integration에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by