%% Obtain Values of Tunable Parameters from FIS
% Create a fuzzy inference system, and define the tunable parameter settings of inputs, outputs, and rules.

fis = mamfis('NumInputs',2,'NumOutputs',1);
[in,out,rule] = getTunableSettings(fis);

% Obtain tunable parameter values of the inputs, outputs, and rules of the fuzzy inference system.

paramVals = getTunableValues(fis,[in;out;rule]);

% Copyright 2018 The MathWorks, Inc.