What should I do if I get "Error: Specified FIS file contains invalid type-1 membership function"
1 回表示 (過去 30 日間)
古いコメントを表示
I preapered an anfis file, named "mppt.fis", and used it with the code "getFISCodeGenerationData" in an embeded mathlab function in simulink. When I ran simulink, firstly it worked with no problem. Then, I changed the the line of the code "getFISCodeGenerationData" in an embeded mathlab function. But then it didn't work. I had made no change in the fis file. Everytime when I tried to run simulink, I got the error: "Specified FIS file contains invalid type-1 membership function". However, It works in command window with no problem. It evaluates answers in command window without any problem.
0 件のコメント
回答 (1 件)
Sam Chak
2025 年 5 月 1 日
Hi @alper demir
This error most likely indicates that your FIS file may have been corrupted for an unknown reason when the modified fisOut = getFISCodeGenerationData(fis) function is called. Perhaps you have inadvertently modified the fields of fisOut, which can lead to unexpected results that corrupted the type-1 membership function in the FIS file.
If the FIS file cannot be repaired, it may be more effective to redesign the system by creating a new fuzzy system.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!