%% Create Feed Using UI Figure Window
% Create a customAntennaStl object with default properties.

ant= customAntennaStl;

% Import the STL file.

ant.FileName = 'plateMesh.stl';

% Open the UI figure window.

createFeed(ant);

% The UI figure window consists of two panes, Slice Antenna and the Add Feed pane.  Select the Slicer Mode, then click YZ to select that as the plane along which to slice your antenna.
%
% Select the region you want to hide and then click Hide to hide the selected region.
%
% Repeat the process until you reach the region of interest.
%
%  Select Select a Feeding Edge or Polygon under the Add Feed pane to select the edges to form a closed polygon. Click OK to define the selected edges as the feeding edges.
%
% The feed location is displayed.
%
% The selected edges must be connected to other edges, else UI figure window will display an error.
%
% Copyright 2019 The MathWorks, Inc.
%