Error in fuzzy logic controller file

9 views (last 30 days)
Kapil Jagtap
Kapil Jagtap on 4 Feb 2021
Edited: Asvin Kumar on 10 Feb 2021
My simulink model file and fis files are in same folder.
When i try opening the fis file am getting an error.
please help

Answers (1)

Asvin Kumar
Asvin Kumar on 10 Feb 2021
Edited: Asvin Kumar on 10 Feb 2021
This error arises because your FIS file is not found in the present working directory (pwd).
This is mentioned in the docs for the FIS Name parameter.
You could:
  1. Change MATLAB's pwd to the directory in which the FIS file is saved.
  2. Or you could add the path to the FIS w.r.t the current directory in the FIS name field. e.g. 'fuzzyshowerdemo/shower.fis'
  3. Or add the FIS file to the MATLAB path.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!