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 Comment

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)

Sign in to comment.

Answers (1)

Milad Heshmati
Milad Heshmati on 7 Aug 2019
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 Comments

Thank you sir. It Helped me. Looking forwars for such a quick resolution of related problems while working in MATLAB.
Thank you so much. It helped me alot
I signed in just to upvote

Sign in to comment.

Categories

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

Asked:

on 6 Nov 2017

Commented:

on 22 Apr 2022

Community Treasure Hunt

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

Start Hunting!