Octave Fuzzy Logic Toolkit: readfis

### Function Reference: `readfis`

Function File: fis = readfis ()
Function File: fis = readfis (filename)

Read the information in an FIS file, and using this information, create and return an FIS structure. If called without any arguments or with an empty string as an argument, present the user with a file dialog GUI. If called with a filename that does not end with ’.fis’, append ’.fis’ to the filename. The filename is expected to be a string.

Six examples of the input file format and example scripts that use readfis:

Example FIS File | Corresponding Example Script
--- | ---
cubic_approximator.fis | cubic_approx_demo.m
heart_disease_risk.fis | heart_disease_demo_2.m
investment_portfolio.fis | investment_portfolio_demo.m
linear_tip_calculator.fis | linear_tip_demo.m
mamdani_tip_calculator.fis | mamdani_tip_demo.m
sugeno_tip_calculator.fis | sugeno_tip_demo.m

See also: writefis