Send value of a variable from Python to MATLAB/Simulink

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일

1 개 추천

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.

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2021년 1월 13일

답변:

2021년 1월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by