%% Create Option Set for ANFIS Training
% Create a default option set.

opt = anfisOptions;

%
% Specify training options using dot notation. For example, specify the following options:
% Initial FIS with 4 membership functions for each input variable
% Maximum number of training epochs equal to 30.

opt.InitialFIS = 4;
opt.EpochNumber = 30;

%
% You can also specify options when creating the option set using one or more Name,Value pair arguments.

opt2 = anfisOptions('InitialFIS',4,'EpochNumber',30);

% Copyright 2012 The MathWorks, Inc.