FUNCTION REFERENCE

readfis

Read a type-1 fuzzy inference system from a text file.

Read a type-1 fuzzy inference system from a text file.

Syntax

fis = readfis(filename)

Reads [System], [InputN], [OutputN] and [Rules] sections. Adds .fis when no extension is specified. Errors name the offending line. Custom function names are preserved without executing file contents.

Example

f=mamfis(NumInputs=1,NumOutputs=1); writefis(f,'help-readfis.fis'); g=readfis('help-readfis.fis'); assert(isequal(f,g)); delete('help-readfis.fis');

Differences from MATLAB: text FIS version 2.0 only; no MAT files or file-selection dialog. File size is limited to 16 MiB.

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