Embedded coder build error
Show older comments
Hi
I am pretty new to MATLAB embedded coder. I am getting following error trying to build my model.
### Generating TLC interface API for custom data
.
### Initial pass through model to cache user defined code
....
### Caching model source code
.....
Error: File: c1_cccf_clutchcapacitycalculation.tlh Line: 1 Column: 1
A %implements directive must appear within a block template file and must match the %language and type specified
....
Error: File: c2_cccf_clutchcapacitycalculation.tlh Line: 1 Column: 1
A %implements directive must appear within a block template file and must match the %language and type specified
Error: File: c3_cccf_clutchcapacitycalculation.tlh Line: 1 Column: 1
A %implements directive must appear within a block template file and must match the %language and type specified
....
Error: File: c4_cccf_clutchcapacitycalculation.tlh Line: 1 Column: 1
A %implements directive must appear within a block template file and must match the %language and type specified
.................................
### Writing header file cccf_clutchcapacitycalculation_private.h
.
### Writing source file cccf_clutchcapacitycalculation.c
### Writing header file cccf_clutchcapacitycalculation.h
### Writing header file cccf_clutchcapacitycalculation_types.h
.
### Writing source file C:\SVN\MIKA2\model\swCore\APSW\ccc\ccc_Run_Med\cccf_clutchcapacitycalculation\unitTest\slprj\ert\_sharedutils\BINARYSEARCH_real_T.c
### Writing header file C:\SVN\MIKA2\model\swCore\APSW\ccc\ccc_Run_Med\cccf_clutchcapacitycalculation\unitTest\slprj\ert\_sharedutils\BINARYSEARCH_real_T.h
.
### Writing source file C:\SVN\MIKA2\model\swCore\APSW\ccc\ccc_Run_Med\cccf_clutchcapacitycalculation\unitTest\slprj\ert\_sharedutils\LookUp_real_T_real_T_ZERO.c
### Writing header file C:\SVN\MIKA2\model\swCore\APSW\ccc\ccc_Run_Med\cccf_clutchcapacitycalculation\unitTest\slprj\ert\_sharedutils\LookUp_real_T_real_T_ZERO.h
### Writing header file rtwtypes.h
.
### Writing source file cccf_clutchcapacitycalculation_data.c
### Writing header file rtw_shared_utils.h
.
### TLC code generation complete.
### Generating TLC interface API.
................
### Creating ASAP2 file: cccf_clutchcapacitycalculation.a2l
### Indenting ASAP2 file.
..
### Creating HTML report file cccf_clutchcapacitycalculation_codegen_rpt.html
### Real-Time Workshop build procedure for model: 'cccf_clutchcapacitycalculation' aborted due to an error.
>>
Any help in this reagrds is highly appreciated
1 Comment
Kaustubha Govind
on 6 May 2013
Does the c1_cccf_clutchcapacitycalculation.tlh file correspond to a custom S-function being uses in your model?
Answers (0)
Categories
Find more on Simulink Coder 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!