PWM_sf_subsystems.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript" src="rtwshrink.js"></script><title>
  4. Non-virtual subsystems in PWM
  5. </title>
  6. </head>
  7. <body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdSubsystem'); else local_onload();}} catch(err) {};">
  8. <h1>
  9. Non-virtual subsystems in PWM
  10. </h1>
  11. <div>
  12. </div>
  13. <div>
  14. </div>
  15. <h3 name="sec_Code_Mapping" id="sec_code_mapping">
  16. 1. Code Mapping <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_001_control" onclick ="if (rtwTableShrink) rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_001', false)"><span class="shrink-button">[<u>hide</u>]</span></span>
  17. </h3>
  18. <table width="100%" name="rtwIdSubsystem_table_001" id="rtwIdSubsystem_table_001" border="0">
  19. <tr>
  20. <td align="left" valign="top">
  21. <p>
  22. The following table: <br /><ul>
  23. <li>
  24. provides a mapping from the non-virtual subsystems in the model to functions or reusable functions in the generated code and
  25. </li>
  26. <li>
  27. notes exceptions that caused some non-virtual subsystems to not reuse code even though they were assigned a function packaging setting ('Function packaging' entry on the Subsystem Block Dialog) of 'Auto' or 'Reusable function'.
  28. </li>
  29. </ul>
  30. </p>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td align="left" valign="top">
  35. <table class="AltRow FirstColumn" cellspacing="0">
  36. <tr class="heading">
  37. <th align="left" valign="top">
  38. <b>
  39. Subsystem
  40. </b>
  41. </th>
  42. <th align="left" valign="top">
  43. <b>
  44. Reuse Setting
  45. </b>
  46. </th>
  47. <th align="left" valign="top">
  48. <b>
  49. Reuse Outcome
  50. </b>
  51. </th>
  52. <th align="left" valign="top">
  53. <b>
  54. Outcome Diagnostic
  55. </b>
  56. </th>
  57. </tr>
  58. <tr class="even">
  59. <td align="left" valign="top">
  60. &lt;S4&gt;
  61. </td>
  62. <td align="left" valign="top">
  63. Auto
  64. </td>
  65. <td align="left" valign="top">
  66. Inline
  67. </td>
  68. <td align="left" valign="top">
  69. <FONT COLOR="green">normal</FONT>
  70. </td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. </table>
  76. <h3 name="sec_Code_Reuse_Exceptions" id="sec_reuse_exception">
  77. 2. Code Reuse Exceptions <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_002_control" onclick ="if (rtwTableShrink) rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_002', false)"><span class="shrink-button">[<u>hide</u>]</span></span>
  78. </h3>
  79. <table width="100%" name="rtwIdSubsystem_table_002" id="rtwIdSubsystem_table_002" border="0">
  80. <tr>
  81. <td align="left" valign="top">
  82. <p>
  83. The following section provides details on each exception that caused a non-virtual subsystem with a function packaging setting of<br /><ul>
  84. <li>
  85. 'Auto' to become an inlined code segment,
  86. </li>
  87. <li>
  88. 'Auto' to become a non-reusable function without arguments, or
  89. </li>
  90. <li>
  91. 'Reusable function' to become a non-reusable function without arguments.
  92. </li>
  93. </ul>
  94. <b>Note:</b>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 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.
  95. </p>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td align="left" valign="top">
  100. <br /><b>No reuse exception in model</b>
  101. </td>
  102. </tr>
  103. </table>
  104. </body>
  105. </html>