Simulink - Arduino - AnalogShield?
1 次查看（过去 30 天）
Richard McGinley ，2017-3-30
评论： Richard McGinley ，2017-4-11
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?
Ed Marquez 2017-4-11
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!
Find more on Simulink Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!