Arduino Mega interfacing problem
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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'.
0 Kommentare
Antworten (1)
ag
am 16 Jul. 2024
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.
To install the support package, please refer to the following MathWorks documentation: https://www.mathworks.com/help/matlab/supportpkg/intro.html#:~:text=and%20its%20peripherals.-,Install%2C%20Uninstall%2C%20and%20Update%20the%20Support%20Package,-Install%20the%20Support
Hope this helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!