Share workspace variables between Python and Matlab
4 ビュー (過去 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!