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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 22 Jul. 2017

0 Stimmen

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

Weitere Antworten (1)

Jung Jazel
Jung Jazel am 14 Apr. 2019

0 Stimmen

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 Kommentare

Walter Roberson
Walter Roberson am 14 Apr. 2019
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.
ibrahim fadel
ibrahim fadel am 2 Nov. 2019
how
Walter Roberson
Walter Roberson am 2 Nov. 2019
How what, ibrahim?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by