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

1 visualización (últimos 30 días)
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

Respuestas (1)

Jacob Mathew
Jacob Mathew el 12 de Mayo de 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:

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by