Share workspace variables between Python and Matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
Essentially what I would like to do is to be able to call Python scripts as Matlab functions. I saw the documentation for R2014b which gives a nice example on how to do something along those lines here:
However, Im not exactly sure if this retains all the functionality of Python, especially dynamic classes of Python.
Some other options are to create a UDP object and create a local host environment and communicating through a socket, something like this toolbox is aiming to resolve
What do people suggest here as a better solution? How can I share the workspace variables between Python and Matlab without the need to write data on the hard disk and then load it in either environment? (although this "quick and dirty" solution will be preferred if other methods are non-functioning or need too much setup/debugging)
Thanks in advance,
A.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!