Arduino Mega interfacing problem

3 次查看(过去 30 天)
I'm using matlab R2013a,I have installed the arduino package suggested by Matlab Websit,when I connect the arduino and type a=arduino in command,I got error as, >> a = arduino Undefined function or variable 'arduino'.

回答(1 个)

ag
ag 2024-7-16
Hi Nilakshan,
The error message "Undefined function or variable 'arduino" implies that the there is no Arduino support package currently installed.
Please use the below command to check if the support package is installed correctly,
which arduino -all
If the Arduino support package is installed succesfully the full path of the installation directory will be displayed, otherwise '''arduino' not found" message will be displayed.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by