how can i show a pulse signal in simulink?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i have an arduino one with a external pulse signal i use an arduino input connected to the scope but it shows just a line in zero.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190846/image.png)
0 Kommentare
Antworten (1)
Ameer Hamza
am 27 Mai 2018
This might be happening because your pulse width is very small. Arduino uses the serial port to communicate with Simulink. Due to finite bandwidth, the sampling rate of the digital pins which Arduino can send to Simulink is not very high. Therefore, if the width of the pulse is very small, the Simulink will not be able to receive the information and not show in on the scope. Try increasing the width of pulse to see if this correct the problem.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!