Non-virtual subsystems in PMSM_Controller

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
<S44> Reusable Function Reusable Function(S44) normal
<S42> Reusable Function Reusable Function(S44) normal
<S41> Auto Reusable Function(S41) normal
<S37> Auto Reusable Function(S41) normal
<S36> Reusable Function Reusable Function(S36) normal
<S56> Reusable Function Reusable Function(S56) normal
<S66> Reusable Function Reusable Function(S66) normal
<S62> Reusable Function Reusable Function(S66) normal
<S93> Reusable Function Reusable Function(S93) normal
<S16> Auto Inline normal
<S18> Auto Inline normal
<S17> Auto Inline normal
<S12> Auto Inline normal
<S13> Auto Inline normal
<S8> Auto Inline normal
<S20> Auto Inline normal
<S19> Auto Inline normal
<S23> Auto Inline normal
<S27> Auto Inline normal
<S33> Auto Inline normal
<S29> Auto Inline normal
<S30> Auto Inline normal
<S28> Auto Inline normal
<S40> Auto Inline normal
<S39> Auto Inline normal
<S38> Auto Inline normal
<S61> Auto Inline normal
<S60> Auto Inline normal
<S72> Auto Inline normal
<S87> Auto Inline normal
<S88> Auto Inline normal
<S90> Auto Inline normal
<S91> Auto Inline normal
<S81> Auto Inline normal
<S1> Inline 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