Is there a way to program the arduino with MATLAB code and then run the arduino without the connection to MATLAB?
32 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have been looking but have yet to see an example of the MATLAB program being uploaded into the arduino so that the arduino can act independently of the computer.
So I just want to know if MATLAB has to be connected to the arduino for the MATLAB code to work or is there a way to download the code onto the arduino so that the arduino device can be used in a mobile robot application (no computer connection)?
Thanks
0 Kommentare
Antworten (6)
Rolfe Dlugy-Hegwer
am 11 Feb. 2013
Thanks for asking, Aidan. The Classroom Resources Team has a "MATLAB Support Package for Arduino (aka ArduinoIO Package)" at http://www.mathworks.com/matlabcentral/fileexchange/32374-matlab-support-package-for-arduino-aka-arduinoio-package.
If you have Simulink, you can also run a Simulink model on Arduino. To add this capability, enter "targetinstaller" in the MATLAB Command Window. Then follow the instructions in Support Package Installer.
0 Kommentare
Vl
am 9 Jan. 2013
If the model includes everything for functioning then Arduino will work autonomously after building and downloading the model code to the target. For example, the model "Blink" will work.
0 Kommentare
Akarsh Sinha
am 29 Mär. 2013
You can generate the code using Simulink though. But the only problem is you need to have 2012b or above along with .NET framework and Windows SDK(If you're working on a Windows OS) for this thing to work.
1 Kommentar
Rolfe Dlugy-Hegwer
am 29 Aug. 2013
Bearbeitet: Rolfe Dlugy-Hegwer
am 29 Aug. 2013
To run Support Package Installer in MATLAB R2012a (including the Student Edition), enter "targetinstaller" With R2012a, you can install support for the following hardware:
- Arduino Mega 2560
- Arduino Uno
- BeagleBoard
- LEGO MINDSTORMS NXT
0 Kommentare
Rainer
am 21 Sep. 2013
Just to confirm, you need simulink to be able to run the arduino board autonomously ....am I right?
1 Kommentar
Alexey D
am 28 Jul. 2019
Hello!
Is there a way to download matlab program to arduino so that the robot could work without connection? I mean matlab, not simulink.
I have MATLAB Support Package for Arduino and Simulink pacage as well.
Thank you
1 Kommentar
Peter
am 5 Jul. 2023
I am having the same question, can somebody clarify on the question above please
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!