How can i load my code into the arduino?

1 view (last 30 days)
Panouoilis
Panouoilis on 19 Jan 2014
Commented: Kaustubha Govind on 25 Mar 2014
Hi everyone!
I am using matlab in order to program an arduino microcontroller. My code works fine and i have the results i need in the circuit i have designed. My problem is that i cannot find how to load the code into arduino, so that i will be able to run without the pc. I am sure that this is very easy when using the arduino sofware, but is there a command in matlab? Any help?

Answers (1)

Anna
Anna on 19 Jan 2014
Is your LED13 lit? If the LED13 is lit,indicating that the arduino is waiting for a response from Matlab to start, load the m file, and change the com port to the port where the arduino USB is mapped on your PC. Run the .m file, and LED13 will turn off as Matlab signls the arduino.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!