Not able to open fis editor file

I saved a file fis editor. When I type "Fuzzy filename". File name is fuzzytest.fis. It does not open. Istead it gives an error
"Error using fuzzy.internal.utility.getStringIfErrorIsNotThrown"
"Error in readfis (line 52)
errorStr = fuzzy.internal.utility.getStringIfErrorIsNotThrown(throwError, ...
Error in fuzzy (line 42)
fis=readfis(action); "

1 commentaire

To confirm: you are doing
fuzzy fuzzytest.fis
not
filename = 'fuzzytest.fis';
fuzzy filename
? The second of those would attempt to open a file named 'filename', and would be corrected by
fuzzy(filename)

Connectez-vous pour commenter.

Réponses (1)

Milad Heshmati
Milad Heshmati le 7 Août 2019

5 votes

You have to change the current active folder to the path where your m-file is located. this way it will run without this error.

3 commentaires

Rohit Mangalekar
Rohit Mangalekar le 2 Sep 2020
Modifié(e) : Rohit Mangalekar le 2 Sep 2020
Thank you sir. It Helped me. Looking forwars for such a quick resolution of related problems while working in MATLAB.
Akif Ansar
Akif Ansar le 15 Jan 2022
Thank you so much. It helped me alot
Rohail Bootwalla
Rohail Bootwalla le 22 Avr 2022
I signed in just to upvote

Connectez-vous pour commenter.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by