%% Create PC Board Stackup Definition
% 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('Name','Air','Thickness',0.1e-3);

% Create another dielectric object with RO4725JXR as the dielectric material.

d3 = dielectric('Name','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

% Copyright 2020 The MathWorks, Inc.