How to save Type 2 Fuzzy system?

5 ビュー (過去 30 日間)
wiam Ayrir
wiam Ayrir 2020 年 7 月 6 日
コメント済み: wiam Ayrir 2020 年 7 月 9 日
In the example Fuzzy PID Control with Type-2 FIS, there is nothing that explain how to save the converted fuzzy type 1 system (the fis2). I tried to do the example but I could not manage to find the fis2. Am I missing something?

採用された回答

Subhadeep Koley
Subhadeep Koley 2020 年 7 月 6 日
HI,
After you convert fis1 to fis2, use the code below to save the fis2 system. The below code opens a dialog box for saving the FIS. In this dialog box, specify the desired name and location of the .fis file.
writeFIS(fis2)
Again, to load the saved fis2 use the code below
fis2 = readfis(fileName) % Enter the filename of your fis file
  1 件のコメント
wiam Ayrir
wiam Ayrir 2020 年 7 月 9 日
Thank you so much for your answer, actually I used this code but didn't work, but after your answer I was sure it is the right code so I figured out that I was saving the initital code file to .m file and not .mlx.
Thank you again ^^

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by