PCBReader
R2026bImport PCB layout from stackup definition and drill files
Description
Use the PCBReader object to import a printed circuit board
(PCB) layout defined in a stackUp object and to facilitate the creation of
an antenna model. The layer files referenced by the stackup are Gerber files — a set of
manufacturing files that describe a PCB antenna. A Gerber file uses an ASCII vector format to
describe 2-D binary images. The object reads RS-274X Gerber files and does not support the
RS-274D format.
Creation
You can create a PCBReader object using either of these functions:
gerberRead— Import PCB layout directly from Gerber and drill files.PCBReader— Import PCB layout from astackUpdefinition object and drill files. This function is described here.
Description
B = PCBReader( creates a
S)PCBReader object that imports multilayer PCB antenna design files
described in the stackUp
object.
Note
To translate the center of an imported symmetrical or asymmetrical polygon to
[0,0] use the boundingbox and centroid
MATLAB® functions. For more information, see the examples section.
B = PCBReader( sets
properties
using one or more name-value arguments. PropertyName=Value)PropertyName is the property
name and Value is the corresponding value. You can specify several
name-value arguments in any order as PropertyName1=Value1,
..., PropertyNameN=ValueN. Properties that you
do not specify retain their default values. For example, B =
PCBReader(StackUp=S,DrillFile='ant.txt') imports the layers and drill file
into the PCBReader.
Input Arguments
Properties
Object Functions
shapes | Extract and modify metal layers from PCBReader
object |
Examples
Version History
Introduced in R2020bSee Also
PCBWriter | PCBServices | PCBConnectors | pcbStack | stackUp | gerberRead











