Error connecting Arduino hardware to MATLAB R2018b

7 ビュー (過去 30 日間)
Mohamed Elazab
Mohamed Elazab 2019 年 3 月 24 日
回答済み: Kestas Subacius 2019 年 3 月 26 日
I installed MATLAb support package for ardunio hardware. When I type a=arduino() in the workspace. I get the error message
>> a= arduino ()
Updating server code on board Mega2560 (/dev/cu.usbmodem14101). This may take a few minutes.
Undefined variable "ide" or class "ide.internal.getArduinoIDE
I'm using Mac by the way. Does anyone know what may be the problem?
  5 件のコメント
Mohamed Elazab
Mohamed Elazab 2019 年 3 月 24 日
I installed both actually. I don't think that's what's causing the error message.
Walter Roberson
Walter Roberson 2019 年 3 月 24 日
Looks like I copied the directory wrong when I posted before
~/Documents/MATLAB/SupportPackages/R2018b/toolbox/realtime/targets/arduinoide/+ide/+internal/getArduinoIDERootDir.p
I installed the package this afternoon in response to your question. I do not have the toolbox/targets directory that you mention.

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

採用された回答

Kestas Subacius
Kestas Subacius 2019 年 3 月 26 日
This issue can be resolved by doing a clean re-installation, rather than a regular re-installation, of the "MATLAB Support Package for Arduino Hardware".
Please see the below resource for the steps to do a clean re-installation of a support package:

その他の回答 (1 件)

Madhu Govindarajan
Madhu Govindarajan 2019 年 3 月 25 日
Have you tried uninstalling and reinstalling the support package? When installing these support packages if additional terminal windows open do not close them.

カテゴリ

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

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by