Main Content


Generate a pad stack

Since R2024a



SPad = getpads(pcbobject)) generates a pad stack based on the number of signal vias and the number of conductive layers. SPad can be optionally customized and assigned to SignalViaPad.

getpads returns a pad stack of size equal to the number of signal vias-by-number of conductive layers


collapse all

This example shows how to use the getpads function of a single ended via to generate a pad stack

via = viaSingleEnded
via = 
  viaSingleEnded with properties:

   Conducting Layers
                        SignalLayer: [1 7]
                        GroundLayer: [3 5 9]
                          Conductor: [1x1 metal]

   Dielectric Layers
                          Substrate: [1x1 dielectric]

   Signal Vias
                 SignalViaLocations: [0 0 1 7]
                  SignalViaDiameter: 2.5000e-04
          SignalViaFinishedDiameter: 2.0000e-04
                       SignalViaPad: [1x1 antenna.Circle]
                   RemoveUnusedPads: 1
                   SignalViaAntipad: [1x1 antenna.Circle]

   Ground Return Vias
           GroundReturnViaLocations: [1.0000e-03 1.0000e-03 1 9]
            GroundReturnViaDiameter: 2.5000e-04
    GroundReturnViaFinishedDiameter: 2.0000e-04

                        SignalTable: {2x4 cell}

SPad = getpads(via)
SPad=1×5 cell array
    {1x1 antenna.Circle}    {0x0 double}    {0x0 double}    {1x1 antenna.Circle}    {0x0 double}


Input Arguments

collapse all

Example: via=viaSingleEnded;SPad = getpads(via)

Data Types: object

Output Arguments

collapse all

getpads returns a pad stack of size number of signal vias-by- number of conductor layers in the via. The first non-empty shape from obj.SignalViaPad is used for scalar expansion to build the pad stack.

Version History

Introduced in R2024a