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, ...

 采纳的回答

Walter Roberson
Walter Roberson 2017-7-22

0 个投票

... 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.

更多回答(1 个)

Jung Jazel
Jung Jazel 2019-4-14

0 个投票

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 个评论

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?

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by