Send value of a variable from Python to MATLAB/Simulink

16 次查看(过去 30 天)
How to send the value of a python variable to MATLAB/Simulink in real time, or failing that, every certain time interval?
In summary, the output of python would be an input from matlab

回答(1 个)

Nagasai Bharat
Nagasai Bharat 2021-1-20
Hi,
From my understanding you are trying to take an output value of a python script and use it in MATLAB.
The following documentation would help you achieve that.
You can also do the vice-versa of it i.e, calling MATLAB from python. The below would be helping you.

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by