%% Create Fuzzy Rule Using Numeric Description
% Create a fuzzy rule using a numeric description. Specify that the rule has two input variables.

rule = fisrule([1 2 2 0.5 1],2)

% Before using rule with a fuzzy system, update the rule Description property using the update function.

fis = readfis("tipper");
rule = update(rule,fis)

% Copyright 2018 The MathWorks, Inc.