%% Generate Gerber Format Files for Default PCB Component
% Create a default PCB component.

 p = pcbComponent;

% Use 2 Cinch SMA connectors and the Mayhew Labs PCB viewer.

 W = PCBServices.MayhewWriter;
 C1 = PCBConnectors.SMA_Cinch;
 C2 = PCBConnectors.SMA_Cinch;

% Generate the Gerber-format files.

[A,g] = gerberWrite(p,W,{C1,C2})

% Copyright 2021 The MathWorks, Inc.