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 FileCorresponding Example Script
cubic_approximator.fiscubic_approx_demo.m
heart_disease_risk.fisheart_disease_demo_2.m
investment_portfolio.fisinvestment_portfolio_demo.m
linear_tip_calculator.fislinear_tip_demo.m
mamdani_tip_calculator.fismamdani_tip_demo.m
sugeno_tip_calculator.fissugeno_tip_demo.m

See also: writefis