How can i load my code into the arduino?

1 次查看(过去 30 天)
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?

回答(1 个)

Anna
Anna 2014-1-19
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by