How can i use instrument control toolbox to read a potentiometer to control a simscape multibody model?

1 vue (au cours des 30 derniers jours)
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

Réponses (1)

Jacob Mathew
Jacob Mathew le 12 Mai 2025
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:

Catégories

En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by