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

fis = readfis("mam22");

% View the output variables of fis.

fis.Outputs

% View the rules of fis.

fis.Rules

% Remove the forceBig output variable.

fis = removeOutput(fis,"force2");

% View the updated output variables.

fis.Outputs

% View the updated rules.

fis.Rules

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