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!