Arduino Simulink function pulsIn

조회 수: 1 (최근 30일)
Vincent Talon
Vincent Talon 2015년 8월 25일
Dear all, I try to use an ultrasonic sensor (HC-SR04) on my Arduino mega2560 with Simulink (Matlab 2015a). For this I need to read the Echo signal, which returns me the duration (width of Echo pulse), which is an image of the distance. Normally, we use “pulsIn” function, but this function is not standard in Mathworks package (Simulink). Someone has developed the s-function to perform in Simulink this “pulsIn” function? Thank you by advance Vincent

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by