Simulink - Arduino - AnalogShield?

1 view (last 30 days)
I use MATLAB & Simulink with the Arduino UNO on a home science project but I want to be able to also use the Digilent AnalogShield to capture a true bipolar signal (+/- 5V range). How can I get the hardware support package to recognize a new shield library?

Accepted Answer

Ed Marquez
Ed Marquez on 11 Apr 2017
Hi,
I am assuming you are speaking of creating your own library and making it work with Arduino. If you are planning to create your own library, then the File Exchange submission in the link below may be of help: https://www.mathworks.com/matlabcentral/fileexchange/39354-device-drivers
If you are interested, there is another submission by the same author called "Motor Shields" - it may be helpful but I don't know all the details of your application.
I hope this helps!
  1 Comment
Richard McGinley
Richard McGinley on 11 Apr 2017
Thank you...excellent response.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by