Arduino embedded coder

2 views (last 30 days)
Julian
Julian on 15 Apr 2012
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.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 16 Apr 2012
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.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!