Arduino embedded coder

Hello,
I'm trying to generate arduino code and when I choose arduino.tlc in system target file it gives me the following error:
Error while evaluating the 'SelectCallback' in system target file "arduino.tlc". Last recorded error message: Undefined function 'arduino_select_callback_handler' for input arguments of type 'Simulink.STFCustomTargetCC'. Stackinfo:
And when I build it I get:
Unable to locate template makefile: arduino.tmf
Does anyone knows what's happening? I can generate and upload using ert.tlc normally, but I want to see how the code differs.
Any ideas would be greatly appreciated.

Risposte (1)

Kaustubha Govind
Kaustubha Govind il 16 Apr 2012

0 voti

Is this a package that you got from File Exchange? It seems like there is some issue with installation. Make sure that files like arduino_select_callback_handler.m and arduino.tmf that should be part of that package have been added to the MATLAB path.

Categorie

Prodotti

Richiesto:

il 15 Apr 2012

Community Treasure Hunt

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

Start Hunting!

Translated by