coder.loop.reverse
Description
coder.loop.reverse("
prompts the code
generator to reverse the loop iteration order for the loopID
")for
-loop whose
index name is loopID
in the generated code.
For more information about loop optimizations, see Optimize Loops in Generated Code.
coder.loop.reverse
prompts the code generator to reverse the loop
iteration order for the for
loop defined immediately after this function
call in the generated code. Use this transform when you know the upper bound of the loop
iterator.
returns a loop control object with loopObj
= coder.loop.reverse(___)transformSchedule
property set to
coder.loop.reverse
. Use the apply
method to apply
the transform to the specified loop.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023a