error while evaluating uimenu callback( in fuzzy toolbox)

Hello.
I am using the MATLAB 2011.
Previously, I designed a fuzzy system with fuzzy toolbox. Now, after I change membership functions defined for input and save the file with the old name or a new name, when I open modified file, I encounter the following error:
??? Error using ==> fisgui #openfis Error: Expression or statement is incomplete or incorrect.
Error in ==> readfis at 187 MFName=eval(MFStr((nameStart+1):(nameEnd-1)));
Error in ==> fisgui at 117 [fis,errorStr]=readfis;
??? Error while evaluating uimenu Callback
Please advise me on the wrong.
Thank you in advance

5 件のコメント

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015 年 6 月 24 日
編集済み: Salaheddin Hosseinzadeh 2015 年 6 月 24 日
Sounds like a terrible situation. You can't even open it to edit things. Is it possible to make a definition/coding violation in the fuzzy GUI?!!!
I haven't used the graphical user interface. I write code to use fuzzy toolbox.
You know MATLAB does not like names with spaces, or numbers as the first letter, and some more. I'm just suggesting, rename it to a very typical name (thisIsMyDamagedFuzzy) see if anything changes!
Fell free to attach your file, I may try to open it as well.
la
la 2015 年 6 月 24 日
編集済み: la 2015 年 6 月 24 日
Mr.S.Hosseinzadeh!
Hello.
Thank you very much for your answer.
I picked all "_" in the name of I / O, and the Problem is solved !!
But it is very strange. In the first designed fuzzy system, names are including "_" and the fis file yet will be opened .
What is your opinion?
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015 年 6 月 27 日
Hi La,
I'm glad your problem is solved. I'm posting this as an answer, would you please accept it I would be grateful.
Patricia Osifo
Patricia Osifo 2020 年 9 月 3 日
Hi,Salaheddin Hosseinzadeh. I have the same problem as him and I'm using the 2010 version. I did use an underscore in my Inputs and Outputs but there wasn't a problem since until just recently. I did try renaming the file but there was no change and I can't change the names of my input if it doesn't open, of course. The exact error keeps coming up each time. Pls help!!
Ankita Kumari Jain
Ankita Kumari Jain 2020 年 10 月 15 日
Hi, Patricia Osifo. I had the same struggle. Try opening your code using notepad and rename or check for errors. Mine had errors where the membership function names didnt have an " or : . Do let me know if this helps :)

サインインしてコメントする。

 採用された回答

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015 年 6 月 27 日

1 投票

Sounds like a terrible situation. You can't even open it to edit things. Is it possible to make a definition/coding violation in the fuzzy GUI?!!!
I haven't used the graphical user interface. I write code to use fuzzy toolbox.
You know MATLAB does not like names with spaces, or numbers as the first letter, and some more. I'm just suggesting, rename it to a very typical name (thisIsMyDamagedFuzzy) see if anything changes!
Fell free to attach your file, I may try to open it as well.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Fuzzy Logic in Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by