control a simulink from a continuous sensor input handled by a matlab script
显示 更早的评论
I want to send input signals to a simscape model through from my infinite loop in matlab script. Any ideas?
2 个评论
Shayan Sepahvand
2021-9-22
编辑:Shayan Sepahvand
2021-9-22
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
2021-9-22
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simscape 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!