Real time data sharing between Matlab/Simulink and Python
34 ビュー (過去 30 日間)
古いコメントを表示
I have a real-time simulator in Matlab/Simulink running at ≈100-300Hz and want to share data to a grapical environment for real time visualization in Python. My question is how to pass data (signals or variables) quickly enough to Python? (Working on OSX)
Glad for any pointers :-)
0 件のコメント
回答 (1 件)
Aman
2023 年 2 月 15 日
Hi,
I understand that you have made some MATLAB/Simulink model whose data you want to share with your Python application.
For sharing the MATLAB/Simulink data with your Python application you need to change MATLAB session to shared session, for doing that you can use “matlab.engine.shareEngine” method. You can refer the below File Exchange article for reference.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!