- 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!