%% Remove Input Variable from Fuzzy Inference System
% Load fuzzy system.

fis = readfis("tipper");

% View the input variables of fis.

fis.Inputs

% View the rules of fis.

fis.Rules

% Remove the service input variable.

fis = removeInput(fis,"service");

% View the updated input variables.

fis.Inputs

% View the updated rules.

fis.Rules

% service has been removed from the variables and rules of fis.
% Copyright 2018 The MathWorks, Inc.