RTW -> Warning: SIT 2009 Unknown data type. Constructor is enum

1 次查看(过去 30 天)
Hello everyone,
I have an issue, when I try to generate a DLL by Real-Time workshop, whose I cannot figure out the reason
When I launch the RTW on my model (by Simulink), I have this warning messeger
## SIT 2009 Modifying ADL_R.c file
Warning: Unknown data type. Constructor is "enum"
Do you have any idea what it is about ?
Thanks 4 reading
ps
here you can find the entire log message of the RTW call
.....
### Initial pass through model to cache user defined code
..
### Caching model source code
...................................................
### Writing header file ADL_R_types.h
### Writing header file ADL_R.h
### Writing source file ADL_R.c
.
### Writing header file ADL_R_private.h
### Writing header file rtmodel.h
### Writing source file ADL_R_data.c
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
.
### Writing source file rtGetNaN.c
### TLC code generation complete.
### Generating TLC interface API.
........
## SIT 2009 Modifying ADL_R.c file
Warning: Unknown data type. Constructor is "enum"
Warning: Unknown data type. Constructor is "enum"

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-7-10
That error message seems to be specific to using the NI Real-Time Target (nidll.tlc) from the LabVIEW Simulation Interface Toolkit - is this what you're using? If so, since this is an NI tool, it might be best to contact NI Tech Support.
(Just FYI, the generic DLL target for Simulink is ert_shrlib.tlc and ships with Embedded Coder)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by