unable to read analog input using simulinkimul

1 次查看(过去 30 天)
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
  3 个评论
INEL Tech Centre
INEL Tech Centre 2022-6-2
Hi Nakul,
Can you please elaborate your question? What do you mean by mode of operation?
Regards
Walter Roberson
Walter Roberson 2022-6-2
Is the model set for continuous time or for discrete time?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by