%% Add Output Variable with Membership Functions
% Create a Sugeno fuzzy inference system.

fis = sugfis('Name',"tipper");

% Add an output variable with three constant membership functions distributed over the output range.

fis = addOutput(fis,'NumMFs',3,'MFType',"constant");

% View the membership functions.

fis.Outputs(1).MembershipFunctions

% Copyright 2018 The MathWorks, Inc.