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!