Not able to open fis editor file

6 views (last 30 days)
Humdard
Humdard on 6 Nov 2017
Commented: Rohail Bootwalla on 22 Apr 2022
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
Walter Roberson
Walter Roberson on 6 Nov 2017
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
Akif Ansar
Akif Ansar on 15 Jan 2022
Thank you so much. It helped me alot
Rohail Bootwalla
Rohail Bootwalla on 22 Apr 2022
I signed in just to upvote

Sign in to comment.

Categories

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

Community Treasure Hunt

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

Start Hunting!