%% Add Feed and Validate Your Design
% This example shows how to add feed and validate your design. This example is part 3 of the 6 steps involved to design a 1-by-2 H-notch linear antenna array resonating at 4.65 GHz using the PCB Antenna Designer app.
%% Add Feed
% Select the HNotchLayer metal layer and select the Add Feed button under the Feed Via section. Feed can be added only on the metal layer.
%
% The feed is added on the HNotchLayer and this is reflected on the tree with Feed1 added under the Feed node.
%
%% Change Properties of  Feed
% Select the parent Feed node on the tree, and set the FeedDiameter to 1 and FeedViaModel to Strip.. The FeedDiameter is a global property that is when the feed diameter is changed all the feeds in the canvas are updated with the diameter specified.
%
%% Change Position of Feed
% Select the Feed1 from the tree and under Properties panel set the Center to [-3,-3].
%
% From the 3D-View you can see that the feed is available only on the HnotchLayer.
%
%% Change Start Layer and Stop Layer
% To connect the feed from the GroundPlane to the HnotchLayer StartLayer and StopLayer of Feed1 must be updated.
% Set the StartLayer of GroundPlane and StopLayer to HNotchLayer.
%
%% Change Metal Properties
% Select Layers node in the tree and  in the properties pane set the Type of the metal layer to Copper.
%
%% Validate Design
% Select the Validate Design button to check for issues in the design.
%
% Copyright 2020 The MathWorks, Inc.