%% Convert Type-2 FIS Object into Homogeneous Structure
% Create a type-2 fuzzy inference system. For this example,create a default FIS with three inputs and two outputs.

fisObject = mamfistype2('NumInputs',3,'NumOutputs',2);

% Convert the resulting mamfistype2 object into a homogeneous structure.

fisStructure = getFISCodeGenerationData(fisObject,'FuzzySetType',"type2");

% Copyright 2019 The MathWorks, Inc.