Non-virtual subsystems in DGM

1. Code Mapping [hide]

The following table:

  • provides a mapping from the non-virtual subsystems in the model to functions or reusable functions in the generated code and
  • 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'.

Subsystem Reuse Setting Reuse Outcome Outcome Diagnostic
<S10> Reusable Function Reusable Function(S10) normal
<S11> Reusable Function Reusable Function(S11) normal
<S12> Reusable Function Reusable Function(S12) normal
<S13> Reusable Function Reusable Function(S13) normal
<S71> Auto Reusable Function(S71) normal
<S75> Auto Reusable Function(S71) normal
<S79> Auto Reusable Function(S71) normal
<S83> Auto Reusable Function(S71) normal
<S87> Auto Reusable Function(S71) normal
<S91> Auto Reusable Function(S71) normal
<S95> Auto Reusable Function(S71) normal
<S99> Auto Reusable Function(S71) normal
<S103> Auto Reusable Function(S71) normal
<S107> Auto Reusable Function(S71) normal
<S111> Auto Reusable Function(S71) normal
<S115> Auto Reusable Function(S71) normal
<S119> Auto Reusable Function(S71) normal
<S123> Auto Reusable Function(S71) normal
<S127> Auto Reusable Function(S71) normal
<S131> Auto Reusable Function(S71) normal
<S135> Auto Reusable Function(S71) normal
<S139> Auto Reusable Function(S71) normal
<S143> Auto Reusable Function(S71) normal
<S147> Auto Reusable Function(S71) normal
<S151> Auto Reusable Function(S71) normal
<S155> Auto Reusable Function(S71) normal
<S159> Auto Reusable Function(S71) normal
<S163> Auto Reusable Function(S71) normal
<S167> Auto Reusable Function(S71) normal
<S171> Auto Reusable Function(S71) normal
<S175> Auto Reusable Function(S71) normal
<S179> Auto Reusable Function(S71) normal
<S183> Auto Reusable Function(S71) normal
<S187> Auto Reusable Function(S71) normal
<S191> Auto Reusable Function(S71) normal
<S195> Auto Reusable Function(S71) normal
<S200> Auto Reusable Function(S71) normal
<S4> Function Function(S4) normal
<S5> Function Function(S5) normal
<S32> Auto Inline normal
<S33> Auto Inline normal
<S34> Auto Inline normal
<S35> Auto Inline normal

2. Code Reuse Exceptions [hide]

The 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 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 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 exception in model