hc-sr04

10 Ansichten (letzte 30 Tage)
rasim cekic
rasim cekic am 22 Mär. 2017
Kommentiert: Golden YE am 19 Jul. 2021
The Arduino source 'Ultrasonic/Ultrasonic.h' for libraries 'JRodrigoTech/HCSR04' cannot be found. Install the 3P library source first and try again
  3 Kommentare
Madhu Govindarajan
Madhu Govindarajan am 27 Okt. 2017
Is it possible that you did not put the folder in the libraries as mentioned? Step 3.
If you did that correctly, then please check if there is only one level of folder called Ultrasonic under libraries as shown in the image below
zhang yingpeng
zhang yingpeng am 30 Okt. 2017
can I install the Ultrasonic Arduino library with MATLAB2015b?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

ibra
ibra am 1 Apr. 2019
First download the file from this link
there is another file in the describtion, download it and put it in the arduino file in matlab
C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduino-1.6.13/libraries
or type arduinoio.IDERoot in command window to see the directory of the file
if you get this error:
Cannot program board Uno (COMX). Please make sure the board is supported and the port and
board type are correct.
then rename the Arduino folder in Documents into anything else. and open the arduino.exe
from this folder (C:\ProgramData\MATLAB\SupportPackages\R2016b\3P.instrset\arduinoide.instrset\arduino-1.6.13/libraries)
you'll get this message "The sketchbook folder no longer exists. Arduino will switch to the default sketchbook location , and create a new sketchbook folder if necessary. Arduino will then stop talking about himself in the third person."
also it will help if you run matlab as an administrator
  1 Kommentar
Golden YE
Golden YE am 19 Jul. 2021
Thanks for your help!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Setup and Configuration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by