How to save Type 2 Fuzzy system?

A
Addilynn · Nov 28, 2020 · 2K views
Question
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?
Expert Answer
Profile picture of Kshitij Singh
Kshitij Singh PhD Expert
Answered Aug 24, 2026

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
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!