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 ExchangeArduino 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