Send value of a variable from Python to MATLAB/Simulink

17 views (last 30 days)
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

Answers (1)

Nagasai Bharat
Nagasai Bharat on 20 Jan 2021
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.

Community Treasure Hunt

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

Start Hunting!