How do I get to read me correctly .fis ?. Gives me the following error: Error using readfis (line 123) Error: String is not terminated properly.

7 views (last 30 days)
I'm using Fuzzy Logic toolbox, as model to perform inference. During the modification of parameters once you load the data appears me:
Warning: Out of range or non-integer values truncated during conversion to character.
> In writefis at 144 In fisgui at 134
line 144: str=['Name=''' fis.output(varIndex).name '''\n'];
line 134: [newName,~,errorStr]=writefis(fis,oldName,'dialog');
Finally, when I want to read .fis appears the error: Error using readfis (line 123) Error: String is not terminated properly.
line 123: eval([LocalNextline(fid) ';'])
Thank you in advance!
  2 Comments
Geoff Hayes
Geoff Hayes on 7 Aug 2014
Diego - in your eval statement
eval([LocalNextline(fid) ';'])
you appear to be concatenating the semi-colon to the result returned by the function LocalNextline. What are you attempting to do with this line of code? Why not just call
LocalNextline(fid);
directly?
Diego
Diego on 7 Aug 2014
I'm just using the fuzzy logic toolbox (fuzzy) , which allows no modification. I can only manipulate the fuzzy module and the load data.

Sign in to comment.

Answers (0)

Categories

Find more on Fuzzy Inference System Modeling 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!