Set Arduino IDE path

12 ビュー (過去 30 日間)
Roberto Belotti
Roberto Belotti 2019 年 1 月 2 日
コメント済み: Madhu Govindarajan 2019 年 1 月 28 日
I just installed the hardware support package for Arduino, but it doesn't work. I think that the problem is that the package cannot find my installation of Arduino IDE. When I run the command arduinoio.ideroot I get the string 'arduino-1.8.1', which is not even close to the actual path of my Arduino IDE (i.e. 'C:\Program Files (x86)\Arduino')
Do you know how can I set the path properly? Thanks!

採用された回答

Madhu Govindarajan
Madhu Govindarajan 2019 年 1 月 4 日
To set your expectations correctly, MATLAB Support package attempts to install its own Arduino IDE which is 1.8.1 and that is the one it is supposed to find when you type arduinoio.IDERoot.
If the output is just arduino1.8.2, there could be an installation issue. Can you try uninstalling the support package and reinstalling them with administrator access. You can do that by right clicking on MATLAB icon and selecting Run as administrator.
After this you can check again with the same command and the default location is inside C:\ProgramData\MATLAB\Supportpackages\<Release>\3P.instrset\arduinoide.instrset\arduino-1.8.1
HTH,
Madhu
  2 件のコメント
Roberto Belotti
Roberto Belotti 2019 年 1 月 4 日
Administrator privileges did the trick! Thanks!
Madhu Govindarajan
Madhu Govindarajan 2019 年 1 月 4 日
Great :)

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

その他の回答 (1 件)

amina ibrahim
amina ibrahim 2019 年 1 月 28 日
my matlab is on E/ and support package is now on c/ where should i move it on matlab installaton ?
to bin ?
  1 件のコメント
Madhu Govindarajan
Madhu Govindarajan 2019 年 1 月 28 日
Hi amina,
I am not sure where you saw that one should move the support package location between different drives, but I would recommend not to do that. Can you detail what your issues are running into and what you have tried so far?
Madhu

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

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by