Error encountered when building with updated Embedded Coder Support Package for C2000

5 ビュー (過去 30 日間)
Dan Amarandei
Dan Amarandei 2018 年 9 月 26 日
コメント済み: Dan Amarandei 2018 年 10 月 10 日
After a fresh install I get :
### Generating code into build folder: C:\temp\pil_test_a\c2000_ext_test_a_ert_rtw ### Invoking Target Language Compiler on c2000_ext_test_a.rtw ### Using System Target File: C:\MATLAB\R2018a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file c2000_ext_test_a_types.h ### Writing header file c2000_ext_test_a.h ### Writing header file rtwtypes.h ### Writing source file c2000_ext_test_a.c ### Writing header file c2000_ext_test_a_private.h . ### Writing source file c2000_ext_test_a_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Build procedure for model: 'c2000_ext_test_a' aborted due to an error. Error encountered while executing custom build hooks f28335BeforeMakeHook(modelName);: Undefined function 'f28335BeforeMakeHook' for input arguments of type 'char'. Caused by: Undefined function 'f28335BeforeMakeHook' for input arguments of type 'char'.
Any idea why?
  3 件のコメント
Venkatesh Chilapur
Venkatesh Chilapur 2018 年 10 月 10 日
Please can you update on the CCS version being used.
Dan Amarandei
Dan Amarandei 2018 年 10 月 10 日
It was CCS version 7.4.0.00015 - but like I stated above - it's all good now.

サインインしてコメントする。

回答 (2 件)

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 9 月 27 日
Please pass on the model as attachment.

Dan Amarandei
Dan Amarandei 2018 年 9 月 27 日
It's based on the standard Mathworks PIL example. See attached:

Community Treasure Hunt

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

Start Hunting!

Translated by