unable to read analog input using simulinkimul

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

Hello,
Could you please clarify what mode of operation in Simulink are you working in to try out these block?
Hi Nakul,
Can you please elaborate your question? What do you mean by mode of operation?
Regards
Is the model set for continuous time or for discrete time?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 6월 1일

댓글:

2022년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by