Effacer les filtres
Effacer les filtres

Connection to Arduino hardware

5 vues (au cours des 30 derniers jours)
Masayuki Kawakami
Masayuki Kawakami le 2 Mar 2020
Commenté : Rohan Kale le 23 Oct 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 commentaire
Rohan Kale
Rohan Kale le 23 Oct 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

Connectez-vous pour commenter.

Réponses (1)

Maadhav Akula
Maadhav Akula le 4 Mar 2020

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by