FUNCTION REFERENCE

addRule

Add numeric, symbolic, or verbose fuzzy rules.

Add numeric, symbolic, or verbose fuzzy rules.

Syntax

fis = addRule(fis,rules)

Numeric rows contain input indices, output indices, weight, and connection (1 AND or 2 OR). Negative indices mean NOT; zero means do not care. showrule text can be added back.

Example

addRule(mamfis(NumInputs=1,NumOutputs=1,AddRules="none"),[1 1 1 1])

Differences from MATLAB: Type-1 fuzzy systems only. Saving fuzzy objects to MAT files is not supported yet. Object arrays are bounded to 65536 rules, 64 variables per direction and 256 MFs per variable.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.