unable to read analog input using simulinkimul
2 views (last 30 days)
Show older comments
Hi there,
I am trying to read the potentiometer voltage using arduino mega 2560. It is doing great when m using script but it does not work when I am trying to work with simulink product.
Digital output is working well but analog read is not working. Kindly suggest if I need to make any changes in the settings or if I am wrong logically.
settings:
solver: fixed step
hardware board: arduino mega 2560
host board connection: COM7
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1018130/image.png)
3 Comments
Answers (0)
See Also
Categories
Find more on Arduino 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!