Borrar filtros
Borrar filtros

Matlab Coder: Hardware support for Arduino devices

3 visualizaciones (últimos 30 días)
Sridhar Gopinath
Sridhar Gopinath el 18 de Abr. de 2018
Comentada: Walter Roberson el 20 de Jun. de 2018
I am trying to generate fixed-point C code for a Matlab function using the Fixed-Point Designer, Matlab Coder, and Embedded Coder tools. In the 'Generate' step on the Matlab Coder app, there is an option to specify the target hardware for code generation. The available options are ARM Cortex, BeagleBone Black, Altera SoC. I am trying to get support for Arduino so that I can flash the generated code on to the device. Can someone let me know if there is support available for this use case?
As part of the code generation for Arduino devices, can Matlab also generate code for performing IO? Specifically, if I mark few variables are input to the device through Serial communication, can Matlab incorporate this in the generated code?
  2 comentarios
MathWorks Fixed Point Team
MathWorks Fixed Point Team el 20 de Jun. de 2018
Editada: MathWorks Fixed Point Team el 20 de Jun. de 2018
There is a detailed article on Ardruino support for MATLAB and Simulink here.
Please let us know if that addresses your use case.
Walter Roberson
Walter Roberson el 20 de Jun. de 2018
The MKR1000, 101, Due, and Zero are ARM Cortex.
The others appear to be Atmel ATMega AVR (8-bit) based.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by