Help CenterHelp Center
Create PCBReader object with specified Gerber and drill files
PCBReader
P = gerberRead(T)
P = gerberRead([],B)
P = gerberRead(T,B)
P = gerberRead(T,B,D)
example
P = gerberRead(T) creates a PCBReader object with the top layer Gerber file specified in T.
P
T
P = gerberRead([],B) creates a PCBReader object with the bottom layer Gerber file specified in B.
B
P = gerberRead(T,B) creates a PCBReader object with the specified top and bottom layer Gerber file names.
P = gerberRead(T,B,D) creates a PCBReader object with the specified top and bottom layer Gerber files and the drill file specified in D .
D
collapse all
Use the gerberRead function to import a top layer Gerber file.
gerberRead
P = gerberRead('interdigital_Capacitor.gtl');
Extract the metal layer from the file using the shapes function.
shapes
s = shapes(P);
View the top metal layer.
show(s)
Top layer Gerber file, specified as a character vector or string scalar. The file must be saved as a GTL file.
Example: gerberRead('Filetop.gtl');
gerberRead('Filetop.gtl');
Bottom layer Gerber file, specified as a character vector or string scalar. The file must be saved as a GBL file.
Example: gerberRead([],'FileBottom.gbl');
gerberRead([],'FileBottom.gbl');
Drill file, specified a character vector or string scalar. You can specify either a DRL or a TXT file.
Example: gerberRead('Filetop.gtl','FileBottom.gbl','FileDrill.txt');
gerberRead('Filetop.gtl','FileBottom.gbl','FileDrill.txt');
Gerber and drill files read, returned as a PCBReader object.
PCBReader | PCBServices | PCBConnectors | PCBWriter
PCBServices
PCBConnectors
PCBWriter
이 예제의 수정된 버전이 있습니다. 사용자가 편집한 내용을 반영하여 이 예제를 여시겠습니까?
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office