Contenu principal

stackUp

Material details

Since R2025a

    Description

    stackup = stackUp(pfileobj) returns the material details of all layers in the board.

    example

    stackUp(pfileobj,LayerNumber) returns the material details of a specified layer or multiple layers.

    Examples

    collapse all

    Use the stackUp function to get material information of a read-in pcb file

    Read-in a pcb file

    Use the pcbFileRead object to read in a file. Accepted file formats are:

    • ODB++

    • Allegro

    • Native

    Here we are using a native format file

    pfile = pcbFileRead('native_ExampleBoard_Allegro')
    pfile = 
      pcbFileRead with properties:
    
               FileName: 'native_ExampleBoard_Allegro'
              NumLayers: 5
             MetalLayer: [1 3 5]
        DielectricLayer: [2 4]
            LayerHeight: [0.0184 0.0104 0.0092 0.0012 0]
             NumCadnets: 7
           NumPadStacks: 6
          NumComponents: 8
               NumParts: 5
    
    

    Get the stackUp data for all layers

    Use the stackUp function to get the material information for the pcb

    stack = stackUp(pfile)
    stack=5×8 table
        LayerNumber      LayerName         LayerType        Material     Thickness(inch)    EpsilonR    LossTangent    Conductivity(S/m)
        ___________    ______________    ______________    __________    _______________    ________    ___________    _________________
    
             1         {'TOP'       }    {'Signal'    }    {'COPPER'}        0.0012             1              0           5.96e+07     
             2         {'Dielectric'}    {'Dielectric'}    {'FR-4'  }         0.008           4.5          0.035                  0     
             3         {'LAYER2'    }    {'Plane'     }    {'COPPER'}        0.0012             1              0           5.96e+07     
             4         {'Dielectric'}    {'Dielectric'}    {'FR-4'  }         0.008           4.5          0.035                  0     
             5         {'BOTTOM'    }    {'Signal'    }    {'COPPER'}        0.0012             1              0           5.96e+07     
    
    

    Input Arguments

    collapse all

    An input file specified as a pcbFileRead object.

    Example: stackUp(pcbfile)

    Data Types: string

    The layer number or layer numbers of the board.

    Example: stackUp(pcbfile,[1 3})

    Data Types: int8

    Output Arguments

    collapse all

    Returns the material details of the board layers.

    Version History

    Introduced in R2025a