control a simulink from a continuous sensor input handled by a matlab script
Afficher commentaires plus anciens
I want to send input signals to a simscape model through from my infinite loop in matlab script. Any ideas?
2 commentaires
Shayan Sepahvand
le 22 Sep 2021
Modifié(e) : Shayan Sepahvand
le 22 Sep 2021
If you are using an arduino module, there is a package for that in simulink. Download it and there is a block for reading input data from a sensor. You can convert this simulink signal to a Simscape and do the rest of your simulation.
Hope it works for you.
Tsige alemayoh
le 22 Sep 2021
Réponses (0)
Catégories
En savoir plus sur Simscape dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!