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

 Réponse acceptée

Walter Roberson
Walter Roberson le 22 Juil 2017

0 votes

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

Plus de réponses (1)

Jung Jazel
Jung Jazel le 14 Avr 2019

0 votes

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 commentaires

Walter Roberson
Walter Roberson le 14 Avr 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 le 2 Nov 2019
how
Walter Roberson
Walter Roberson le 2 Nov 2019
How what, ibrahim?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by