ArduinoUno Digital and Analog Inputs Simulink
1 view (last 30 days)
Show older comments
I have a problem(does not work analog and digital inputs in model of Simulink(Arduino Uno)...constantly shows "0" on Scope( What can I do ??
1 Comment
Kaustubha Govind
on 27 Mar 2014
Which Arduino package are you using? There are several out there. Did you download a package, or are you using the functionality built into Simulink?
Answers (1)
Rolfe Dlugy-Hegwer
on 28 Mar 2014
One common error is to click the "Run" button (green triangle), which simulates the model on your host computer. The sensors output zeros because they do not exist on the host computer.
0 Comments
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!