Simulink waveform sensitivity problem with arduino

Hi community,
I got weird problem. I connected the Arduino due to the matlab simulink and run my system on it. I am taking some voltage and current measurements via arduino analog inputs and processing them to convert the data into voltage and current values. the problem starts here. voltage and current waveforms are not sensitive they are like squarewaves but not analog signal. I've attached the image of the waveform. What can be the problem? and how can i fix or smooth it?
Thank you.

 채택된 답변

Görkem Say
Görkem Say 2022년 9월 5일

0 개 추천

Okay guys i just solve the problem. It is because of the scope view settings. Solution is;
View>style>plot type make it line and it will be fixed.

추가 답변 (0개)

카테고리

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

제품

질문:

2022년 9월 5일

답변:

2022년 9월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by