Real time data sharing between Matlab/Simulink and Python
38 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Aman
il 15 Feb 2023
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 Commenti
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!