Filter löschen
Filter löschen

Share workspace variables between Python and Matlab

1 Ansicht (letzte 30 Tage)
Andreas
Andreas am 13 Mai 2015
Bearbeitet: Andreas am 13 Mai 2015
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.

Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by