Error using Fuzzy Tool Box

I am receiving this error when I enter this command
a = readfis('chosen');
Error using fuzzy.internal.utility.getStringIfErrorIsNotThrown (line 12)
Unable to open file 'chosen.fis'.
Error in readfis (line 52)
errorStr = fuzzy.internal.utility.getStringIfErrorIsNotThrown(throwError, ...

 Accepted Answer

Walter Roberson
Walter Roberson on 22 Jul 2017
... and?
You do not have a file on your current MATLAB path named 'chosen.fis' . Perhaps it is in a different directory. Perhaps you expected earlier code to create the file but it did not.

More Answers (1)

Jung Jazel
Jung Jazel on 14 Apr 2019
Sir. I'm sure that my fis file exists. And I aslo copy it to the document root. But I still can't read it. Hope you can help me!
Best wishes. Sir. And my mail is 2502703263@qq.com. Looking forward to your repley. Have a good day. Sir!
2.pngQQ截图20190414190533.png

3 Comments

What is your current directory at the time you try the readfis ?
You should avoid putting your own files into the MATLAB installation directories. There are cases where MATLAB will not check for new files there.
How what, ibrahim?

Sign in to comment.

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!