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.

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-4-16

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Arduino Hardware 的更多信息

提问:

2012-4-15

Community Treasure Hunt

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

Start Hunting!

Translated by