フィルターのクリア

Connection to Arduino hardware

5 ビュー (過去 30 日間)
Masayuki Kawakami
Masayuki Kawakami 2020 年 3 月 2 日
コメント済み: Rohan Kale 2020 年 10 月 23 日
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 件のコメント
Rohan Kale
Rohan Kale 2020 年 10 月 23 日
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

サインインしてコメントする。

回答 (1 件)

Maadhav Akula
Maadhav Akula 2020 年 3 月 4 日

カテゴリ

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