- First, ensure that your Mamdani FIS is saved in a .fis file. You can load this FIS into MATLAB using the `readfis` function. For more information on this function, you can follow this link: https://www.mathworks.com/help/fuzzy/readfis.html
- Use the xlsread function to read your dataset from the Excel file. You need to specify the file name and the range of data if necessary. For more information on xlsread and other related functions, please follow this link: https://www.mathworks.com/help/matlab/ref/xlsread.html
- Assuming your dataset has 4 input columns and 1 output column, you can evaluate the FIS for each row of data using a loop or vectorized operation. The evalfis function is used for this purpose. For more information on the same please go through: https://www.mathworks.com/help/fuzzy/mamfis.evalfis.html
- You can display the results or save them back to an Excel file.