How can i load my code into the arduino?

1 visualización (últimos 30 días)
Panouoilis
Panouoilis el 19 de En. de 2014
Comentada: Kaustubha Govind el 25 de Mzo. de 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?
  1 comentario
Kaustubha Govind
Kaustubha Govind el 25 de Mzo. de 2014
Which Arduino package did you use to implement your code?

Iniciar sesión para comentar.

Respuestas (1)

Anna
Anna el 19 de En. de 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.

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by