hi i was trying to connect arduino MEGA with simulink i got this error, please help

Answers (1)

Hi Sriakilan,
Based on my understanding the error can pop up due to the following situation.
  • You connected the potentiometer to a pin 54 which cannot be configured as an analog pin.
  • Check the connections to understand whether the connection is proper at other ends.
As a workaround, try reconnecting and reconfiguring the device to a different analog pin. Make sure the connections are done properly.
Thanks,
Gokul Nath S J

Categories

Products

Release

R2022a

Asked:

on 5 Apr 2023

Answered:

on 21 Apr 2023

Community Treasure Hunt

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

Start Hunting!