Main Content

stackUp

Create PCB stackup definition

Since R2020b

Description

Use the stackUp object to create a printed circuit board (PCB) stackup definition to import Gerber files. A Gerber file is a set of manufacturing files used to describe a PCB antenna. A Gerber file uses an ASCII vector format for 2-D binary images.

Creation

Description

s = stackUp creates a default PCB stackup object with five layers. Specify Gerber files as inputs to the second and fourth layers. Specify dielectric material objects as inputs to layers one, three, and five.

example

Properties

expand all

This property is read-only.

Number of layers in the stackup, returned as a positive scalar.

Example: s = stackUp; s.NumLayers = 6;

First layer in the stackup definition object, specified as a dielectric object.

Example: s = stackUp; d = dielectric("RO4725JXR"); s.Layer1 = d;

Second layer in the stackup definition object, specified as a character vector or string. The file should be saved as a GTL, GBL, or GBR file.

Example: s = stackUp; s.Layer2 = "antenna_design_file.gtl";

Note

The Gerber file must be imported to the MATLAB® workspace before setting this property.

Third layer in the stackup definition object, specified as a dielectric object.

Example: s = stackUp; d = dielectric("RO4725JXR"); s.Layer3 = d;

Fourth layer in the stackup definition object, specified as a character vector or string. The file should be saved as a GTL, GBL, or GBR file.

Example: s = stackUp; s.Layer4 = "antenna_design_file.gbl";

Note

The Gerber file must be imported to the MATLAB workspace before setting this property.

Fifth layer in the stackup definition object, specified as a dielectric object.

Example: s = stackUp; d = dielectric("RO4725JXR"); s.Layer5 = d;

Note

The Gerber file must be imported to MATLAB workspace before executing the above command.

Examples

collapse all

Create a default PCB stackup definition object.

s = stackUp;

Create a dielectric object with Air as the dielectric material and with a thickness of 0.1 mm.

d1 = dielectric("Air");
d1.Thickness = 0.1e-3;

Create another dielectric object with RO4725JXR as the dielectric material.

d3 = dielectric("RO4725JXR");

Assign the dielectrics to the first and third layers.

s.Layer1 = d1;
s.Layer3 = d3;

Input Gerber files to the second and fourth layers.

s.Layer2 = "antenna_design_file.gtl";
s.Layer4 = "antenna_design_file.gbl";

Display the stackup definition object.

s
s = 
  stackUp with properties:

    NumLayers: 5
       Layer1: [1x1 dielectric]
       Layer2: "antenna_design_file.gtl"
       Layer3: [1x1 dielectric]
       Layer4: "antenna_design_file.gbl"
       Layer5: [1x1 dielectric]

Version History

Introduced in R2020b