Connection to Arduino hardware

3 visualizaciones (últimos 30 días)
Masayuki Kawakami
Masayuki Kawakami el 2 de Mzo. de 2020
Comentada: Rohan Kale el 23 de Oct. de 2020
I have installed "MATLAB Support Package for Ardunio Hardware" with 2019b Windows10.
After installing the pkg, typing a=arduino() in the workspace, I get the error messages that Arduino IDE path is missing.
I try to recleaninstall this pkg , It shows same message.
>> a = arduino()
Updating server code on board Mega2560 (COM6). This may take a few minutes.
Arduino IDE at folder '' is corrupt. Open Add‑On Explorer to reinstall MATLAB Support Package for Arduino Hardware.
>> arduinoio.IDERoot
ans =
0×0 の空の char 配列
  1 comentario
Rohan Kale
Rohan Kale el 23 de Oct. de 2020
Hi,
Can you check if there exists a text file named "arduinoide.instrset_install_info.txt" at the location whose pathname is returned by
>> fullfile(matlabshared.supportpkg.getSupportPackageRoot,'appdata','3p','win64','arduinoide.instrset')
If it exists, does it contain the correct path where arduino IDE is installed? For a successful installation, the text file should generally contain the path
>> fullfile(matlabshared.supportpkg.getSupportPackageRoot,'3P.instrset','arduinoide.instrset')
The arduino IDE is generally installed at the abovementioend location. In case, the text file is empty, contains incorrect path, or is missing, the arduinoio.IDERoot returns an empty array.
Hope it helps

Iniciar sesión para comentar.

Respuestas (1)

Maadhav Akula
Maadhav Akula el 4 de Mzo. de 2020

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by