gerberRead
R2026bCreate PCBReader object with specified Gerber and drill
files
Syntax
Description
creates a P = gerberRead({M1,...,MN})PCBReader object with N metal layers. Each
M value specifies a Gerber file for a metal layer with layers ordered
based on their position in the cell array.
creates a P = gerberRead({M1,...,MN},{D1,[fromLayer1,toLayer1];...;DN,[fromLayerN,toLayerN]})PCBReader object with metal layers and drill files. Each
D value specifies a drill file (.drl
or.txt). [fromLayer, toLayer] defines the
connection between the layers. This syntax supports specifying connections between
multiple vias and layers.
Examples
Input Arguments
Output Arguments
Limitations
Limitations of the gerberRead function while reading a
.gtl or .gbl file are:
| Command | Description | Comments |
| TF | File Attributes | Command is ignored and no error is thrown |
| TA | Aperture Attributes | Command is ignored and no error is thrown |
| TO | Object Attributes | Command is ignored and no error is thrown |
| TD | Delete Attributes | Command is ignored and no error is thrown |
Cut-ins are not supported.
Version History
Introduced in R2020bSee Also
shapes | PCBReader | PCBServices | PCBConnectors | PCBWriter



