Main Content


Generate antipad stack

Since R2024a



propVal = getantipads(pcbobject) generates an antipads stack based on the number of signal vias and the number of conductive layers. propVal can be optionally customized and assigned to SignalViaAntipad.


collapse all

This example shows how to use the getantipads function to generate an antipads 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}

propVal = getantipads(via)
propVal=1×3 cell array
    {1x1 antenna.Circle}    {1x1 antenna.Circle}    {1x1 antenna.Circle}


Input Arguments

collapse all

Example: via=viaSingleEnded; propVal = getantipads(via)

Data Types: sigle ended via

Output Arguments

collapse all

getantipads returns an antipad stack of size SignalViaLocations-by- GroundLayer in the via. The first non-empty shape from obj.SignalViaAntipad is used for scalar expansion to build the antipad stack.

Version History

Introduced in R2024a