Clear Filters
Clear Filters

Share workspace variables between Python and Matlab

1 view (last 30 days)
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.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!