AN 1002: Sharing Platform Designer Packaged Subsystems

ID 786899
Date 10/02/2023
Public
Document Table of Contents

4.4.5. Step 4d: Iterate Over All Parameters

Next, specify the following to iterate over all the parameters. Adding these lines allows you to change the structure of the system and the parameters of internal components based upon the input in the package-level parameters.

for {set i 0} {$i < $args_len} {incr i} {

    set param [lindex $args $i]
    set val [lindex $args [incr i]]
Figure 16. Iterating Over All Parameters