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
<S56> Reusable Function Reusable Function(S56) normal
<S83> Reusable Function Reusable Function(S56) normal
<S89> Reusable Function Reusable Function(S89) normal
<S100> Reusable Function Reusable Function(S100) normal
<S101> Reusable Function Reusable Function(S100) normal
<S109> Auto Reusable Function(S109) normal
<S116> Auto Reusable Function(S109) 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
<S19> Auto Inline normal
<S20> 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
<S43> Auto Inline normal
<S41> Auto Inline normal
<S40> Auto Inline normal
<S63> Auto Inline normal
<S80> Auto Inline normal
<S81> Auto Inline normal
<S87> Auto Inline normal
<S92> Auto Inline normal
<S88> Auto Inline normal
<S70> Auto Inline normal
<S95> Auto Inline normal
<S96> Auto Inline normal
<S107> Auto Inline normal
<S114> 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