%% Create Antenna Feed Using UI Figure Window
% Create a customAntennaStl object.

ant= customAntennaStl;

% Import the STL files.

ant.FileName = 'patchMicrostrip_ColumnFeed.stl';

% Create the antenna feed using UI figure window.

createFeed(ant);

% The UI figure window consists of two panes, the Slice Antenna panel and the Add Feed pane.
%
% Click 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 desired feeding edge or feeding polygon.
%
% Select the edges of the column that forms a closed polygon. The selected edges must be connected to other edges, else the UI figure window will display an error.
%
% Click OK to define the selected edges as feeding edges and the structure with the feed is displayed.
%
% The FeedLocation is displayed.
%
%
% Verify the location of the antenna feed in the commandline.

ant

%
% Copyright 2019 The MathWorks, Inc.