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

5 views (last 30 days)
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 Comments

Sign in to comment.

Answers (2)

Venkatesh Chilapur
Venkatesh Chilapur on 27 Sep 2018
Please pass on the model as attachment.

Dan Amarandei
Dan Amarandei on 27 Sep 2018
It's based on the standard Mathworks PIL example. See attached:

Products

Community Treasure Hunt

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

Start Hunting!