Convert analog output to digital//PWM with arduino in Simulink

35 views (last 30 days)
Hello, I want to convert output of the potentiometer to PWM/digital output, in Simulink, for my arduino project.
Please help me with this.

Answers (1)

Rhea Chandy
Rhea Chandy on 27 Aug 2021
Hi Aakash,
This previously answered question may be useful to you:
If you want to generate square PWM signals depending on the input value sent to the block on the Arduino® hardware pin, please refer to the following documentation:


Find more on Simulink Support Package for 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!

Translated by