- Serial Configuration - https://www.mathworks.com/help/instrument/serialconfiguration.html
- Serial Recieve - https://www.mathworks.com/help/instrument/serialreceive.html
- Serial Send - https://www.mathworks.com/help/instrument/serialsend.html
How can i use instrument control toolbox to read a potentiometer to control a simscape multibody model?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone.
So basically i already have the model in simpscape working, but now i have to use a potetiometer via arduino to move the model in real time. I have already seen a lot of tutorials online but they use a old version of instrument control toolbox and they basically dont work anymore. Is there a oficial guide for this? thx
댓글 수: 0
답변 (1개)
Jacob Mathew
2025년 5월 12일
Hey Martin,
You can take a look at the following example that uses Serial Blocks to send and recieve information from an Arduino®.
The documentation for these blocks are as follows:
You also mentioned that a number of guides you used where non functioning as they were for older versions of MATLAB. You can refer the following examples which are starting points for various ways to connect using Instrument Control Toolbox:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!