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
<S43> Reusable Function Reusable Function(S43) normal
<S41> Reusable Function Reusable Function(S43) normal
<S40> Auto Reusable Function(S40) normal
<S36> Auto Reusable Function(S40) normal
<S35> Reusable Function Reusable Function(S35) normal
<S54> Reusable Function Reusable Function(S54) normal
<S63> Reusable Function Reusable Function(S63) normal
<S59> Reusable Function Reusable Function(S59) normal
<S78> Reusable Function Reusable Function(S78) normal
<S82> Reusable Function Reusable Function(S82) normal
<S12> Auto Inline normal
<S14> Auto Inline normal
<S13> Auto Inline normal
<S6> Auto Inline normal
<S16> Auto Inline normal
<S15> Auto Inline normal
<S19> Auto Inline normal
<S24> Auto Inline normal
<S27> Auto Inline normal
<S32> Auto Inline normal
<S28> Auto Inline normal
<S29> Auto Inline normal
<S39> Auto Inline normal
<S38> Auto Inline normal
<S37> Auto Inline normal
<S58> Auto Inline normal
<S57> Auto Inline normal
<S71> Auto Inline normal
<S79> Auto Inline normal
<S80> 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