Why does "rtwtypes.h" include complex number type definitions when the file is generated using Real-Time Workshop 6.1 (R14SP1) in the shared utility directory with 'SupportComplex' property turned off?
5 次查看(过去 30 天)
显示 更早的评论
When I disable the "SupportComplex" property for my model, I do not expect the generated file "rtwtypes.h" to include complex number type definitions. However, when I generate code, using Real-Time Workshop 6.1 (R14SP1), in the shared utility directory (slprj/ert/_sharedutils), the code includes complex number type definitions.
采纳的回答
MathWorks Support Team
2009-6-27
This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in Real-Time Workshop 6.1 (R14SP1) in the way that Real-Time Workshop generates "rtwtypes.h" in the shared utility directory without complex number support.
To work around this issue,
1. Set the "Utility Function Generation" option on the Real-Time Workshop -> Interface pane of the Configuration Parameters dialog box to "Auto."
2. Regenerate the code.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!