Embedded coder build error
Afficher commentaires plus anciens
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 commentaire
Kaustubha Govind
le 6 Mai 2013
Does the c1_cccf_clutchcapacitycalculation.tlh file correspond to a custom S-function being uses in your model?
Réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!