《代码生成报告分析》由会员分享,可在线阅读,更多相关《代码生成报告分析(5页珍藏版)》请在金锄头文库上搜索。
1、整体界面如下:瑁 Cade Ge-rwration RepoiBack.FcrunrdCode Generation Report for BuickCorrtentsgumrnmrYSymniaryRencirl:Trm匚Eab山tw R&)eirtCode generation for model Buickodr.Stmtir Code MiTii7E RwrariitModel version: 1.604.Simulink Coder version: S.i (R2011b) OS-Jul-2011Geoeraled FilesC+ bow code generated on: M
2、on Apr 18 0P;47;52 2016-1 Mmin filemmiri EdMluiiid filler如同皿口日5女口心盯M utility files (1)C+1 Interface files (2)Canfiguraticn Gettings at the time of codm generaban; g: tn due Code generabon objectives: I p.Validatiori result; Not nun摘要包含内容:模型版本,Simulink代码版本,c+资源代码生成时间代码生成时的配置设置,代码生成目标(Code generation
3、objectives:未定义)代码效果子系统界面如下:滚动条最下方为代码重用解释Code Reuse ExceptionsThe following section provides details on each exception that caused a non-virtual subsystem with a function packaging setting of Auto to become an inlined code segment, Auto to become a non-reusable function without arguments, or Reusable
4、 function to become a non-reusable function without arguments.Note: This section does not report graphically identical non-virtual subsystems marked as Auto that were not reused due to differences in their functional properties (such as dimensions, datatypes, work vectors, parameters, etc.). You may
5、 identify reasons for non-reuse in such cases by inspecting the differences in the functional attributes of the subsystems in the model or in the inlined generated code.No reuse exceptions in model可追溯性界面如下:内容如下:Traceability reportTraceability Report for Buicknot generated. Select Traceability Report
6、 Contents parameters in theConfiguration Parameters Code Generation Report pane and then rebuild the model.静态代码度量界面:内容如下:Static Code Metrics Report for BuickStatic Code Metrics report not generated. Select Static Code Metrics Report in the Configuration Parameters Code Generation Report pane and the
7、n rebuild the model.生成的文件包含了四个部分:主函数文件、模型文件、通用文件、界面文件 界面如下:Generated Files -Main fileert nimin.c口口-Model files日 ui&.cpp日 uielc.h日口冰口iu日E.h日口成 tvms.ht- Utility filesrtiwty 口已 s.h-Interface files目口仙emui,即口Buick cm口Lh榔 jfioaes. versj. cn史 TIC vers-i ojj9ID11 京 丁璀岸t re 2 ectjc12 既 Imbedded 上口如电1J Code generatjor14 汽 aJjdatfos jtcsl15 1617 #ifndef RTW_HEADEB18 #define RTW_HEADEB19 include Buick. K2021 est ern void Sui-k22 , El-ukKLEuiuk2324 Sendif2526 A资源文件全部为:.h .cpp后缀。若是进行c代码生成,则是:.h .c后缀。