HC SR04 and simulink version Matlab 2020B

14 ビュー (過去 30 日間)
laboratori electronica
laboratori electronica 2020 年 11 月 4 日
回答済み: Manas Meena 2020 年 12 月 2 日
I'm trying to make my ultrsound sensor HC sr04 work on simulink with the 2020 version but it doesn't work, Can you please help me with any exemple simple?
Is it possible to operate the sensor manually without using the simulink library?
Thanks!!

回答 (1 件)

Manas Meena
Manas Meena 2020 年 12 月 2 日
The Arduino support package has built in functions for the HC SR04 ultrasonic sensors. You can find the information here: https://www.mathworks.com/help/supportpkg/arduinoio/ultrasonic-sensor.html?s_tid=CRUX_lftnav

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by