You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Type 2 fuzzy logic System
42 views (last 30 days)
Show older comments
where can I find the "interval type 2 fuzzy logic system" IT2FLS toolboxs.
i need to download it & start using it in my matlab the same way i use the Fuzzy logic toolbox which comes with matlab
Thanx in advance ...
14 Comments
goran hassanifard
on 22 Dec 2012
hi. if u have found this toolbox, please refer me. tnx
Ramkrishna Ghosh
on 4 Oct 2020
How to download mamdai type 2 fuzzy logic .When I am downloading IT2FLS from matlab it gives sugeno type 2 fuzzy logic not mamdani type 2 fuzzy logic.
Walter Roberson
on 4 Oct 2020
https://www.mathworks.com/help/fuzzy/mamfistype2.html
Yamini Chauhan
on 7 Mar 2021
If anyone here got the link for Mamdani type2 fuzzy logic toolbox please share.Unable to find IT2FLS Mamdani type2.
Walter Roberson
on 7 Mar 2021
I never got a reply from the author of the paper when I asked about it in 2015. https://www.mathworks.com/matlabcentral/answers/57237-how-can-i-use-it2fls-toolbox#comment_299519
halima lammari
on 26 Jun 2021
Hello
i am looking for the type-é logic toolbox with Mamdani inference, i work on Matlab2020a
help me download the toolbox (IT2-FLS Mamdani), show me steps i have to follow them
thank you so much
Walter Roberson
on 26 Jun 2021
Click on the green Code button. Choose Download Zip. Extract the zip into a convenient directory that is not part of the MATLAB distribution. Then use the MATLAB pathtool command. Navigate to the directory you just extracted into, into the type-2-fuzzy-logic-systems-matlab-toolbox-main directory and add that to your MATLAB path. Then at the MATLAB command prompt, command
fuzzyt2
halima lammari
on 27 Jun 2021
Hello sir,
thank you very much sir
cordially
halima lammari
on 28 Jun 2021
Hello sir,
I followed all your instructions but I can't open the fuzzy logic type-2 interface, that's what it shows me in the command window :
>> fuzzyt2
t2fis =
struct with fields:
name: 'Test'
type: 'sugeno'
andMethod: 'prod'
orMethod: 'probor'
defuzzMethod: 'wtaver'
impMethod: 'prod'
aggMethod: 'sum'
typeRedMethod: 'KM'
input: [1×2 struct]
output: [1×1 struct]
rule: [1×4 struct]
y =
0.1576
, I don't know what to do?
I would be very grateful thank you very much sir
Walter Roberson
on 28 Jun 2021
Yes, the code did what the authors intended. It added the fuzzyt2 routines to your MATLAB path, and then it ran an example to show that it was working.
The toolbox has no graphic interface.
There are examples provided to demonstrate its use.
halima lammari
on 28 Jun 2021
Ah! Okay !
I thought it is similar to the fuzzy logic toolbox type1 !, so it's good! I just have to follow the examples to build my program to get program (.fis), then I can run it under Simulink as type 1.
with mamfistype2 : it's for mamdani's inference.
I want to thank you very very very much very much sir
a great respect to you
rajesh pashikanti
on 9 Dec 2021
pathtool
>> fuzzyt2
Undefined function or variable 'fuzzyt2'.
Did you mean:
>> fuzzy
Walter Roberson
on 18 Oct 2023
Yes, if you install https://www.mathworks.com/matlabcentral/fileexchange/66225-interval-type-2-fuzzy-logic-system-toolbox to your MATLAB Drive.
Accepted Answer
Tufan Kumbasar
on 7 Jan 2016
We're proud to introduce the research community with an open source Matlab/Simulink toolbox for Interval Type-2 Fuzzy Logic Systems (IT2-FLS) by Ahmet Taskin and Tufan Kumbasar. The current version of the IT2-FLS toolbox allows intuitive implementation of IT2-FLSs where it is capable to cover all the phases of its design. We would like to encourage the research community to contribute to the development of the IT2-FLS toolbox through suggestions, comments or contributions.
More detailed information about the toolbox and its download link can be found in:
38 Comments
Walter Roberson
on 8 Jan 2016
Thank you, Tufan Kumbasar. I have gone through the other Questions that ask about IT2FLS and have referred them to this Question.
saeede soleymani
on 9 Jan 2016
Thank you so much for share your toolbox. so nice. but how can I add it into my matlab software? the version of it is R2014a.
Walter Roberson
on 9 Jan 2016
Visit the above page. There is a download link that will allow you to download a .rar . Extract the rar into a convenient directory that is not part of the MATLAB distribution. Then use the MATLAB pathtool command. Navigate to the directory you just extracted into, down below the IT2FLSv1.0 directory to the IT2-FLS_Toolbox-v1.0 directory and add that to your MATLAB path. Then at the MATLAB command prompt, command
fuzzyt2
saeede soleymani
on 9 Jan 2016
thank's so much Mr Roberson. you help me a lot of times. you are the best.
Edidiong Eyo
on 9 Feb 2016
The toolbox only allows for three(3) membership functions per input variable. I would like to know if there is any update to the toolbox?
Tufan Kumbasar
on 15 Feb 2016
I would like to inform you that we have found the problem and have updated the toolbox. In revised version of the toolbox, you should be able to edit number and parameters of the input & output MFs.
You can find the updated version from the following link:
Thanks for your feedback,
Bramasto Adi Nugroho
on 27 Jul 2016
Why the toolbox can't run properly in matlab 2015 or 2016?
Walter Roberson
on 27 Jul 2016
The toolbox appears to run in R2016a for me. However, for non-MS Windows systems, you need to change several statements in fuzzyt2 to use fullfile instead of concatenating strings together.
addpath(fullfile(hpath,'IT2FLSs_Toolbox_Funcs'))
addpath(fullfile(hpath,'TR_Methods_Funcs'))
addpath(fullfile(hpath,'Simulink_Lib'))
addpath(fullfile(hpath,'Images'))
Bramasto Adi Nugroho
on 28 Jul 2016
Edited: Bramasto Adi Nugroho
on 28 Jul 2016
If i double click "input" or "output", the dialog box won't show. But it's work fine at "Rule Editor". I use matlab R2016a and my OS is Windows 10 Enterprise.
Walter Roberson
on 28 Jul 2016
I see what you mean: the ButtonDownFcn of the patch is not being invoked, but it is not obvious to me why not at the moment.
bahar beladi
on 11 Feb 2017
Hi, excuse me, how can i install and use the "IT2-FIS" toolbox in matlab?
Walter Roberson
on 12 Feb 2017
bahar beladi, see https://www.mathworks.com/matlabcentral/answers/13468-type-2-fuzzy-logic-system#comment_334192 above.
youliang jiang
on 25 Apr 2018
hi,excuse me。i can not download the toolbox,please
Walter Roberson
on 25 Apr 2018
It appears that they have placed the code on github. Visit https://github.com/ahmettaskin/type-2-fuzzy-logic-systems-matlab-toolbox . You will see a "clone or download" link on the right hand side.
Duy Nguyen
on 16 Jul 2019
hi Tufan Kumbasar,
I run the example "runEdgeDetectionExample.m" with other image size 2400x1935 and I got this error.
Index in position 2 exceeds array bounds (must not exceed 1935).
Error in runEdgeDetectionExample (line 58)
Ieval(ii,jj) = evalt2([(Ix(ii,jj));(Iy(ii,jj));]',t2fis,TRMethod);
Could you help me?
Thank you very much
Walter Roberson
on 16 Jul 2019
Is it possible that your image is rgb instead of grayscale?
Duy Nguyen
on 16 Jul 2019
oh, I tried
Igray=rgb2gray(Irgb);
but it did not work.
Ramkrishna Ghosh
on 4 Oct 2020
From your toolbox I am getting Sugeno interval type 2 fuzzy logic not mamdani type 2 fuzzy logic.how can I get mamdani type2 fuzzy logic ?
Walter Roberson
on 4 Oct 2020
Edited: Walter Roberson
on 5 Oct 2020
Ramkrishna Ghosh
on 5 Oct 2020
I am not getting toolbox for mamdani type 2 fuzzy logic but getting for sugeno type 2 fuzzy logic.
Walter Roberson
on 5 Oct 2020
I am pointing out that type 2 fuzzy is now part of MATLAB, so you do not need to use the third-party toolbox.
Walter Roberson
on 6 Oct 2020
https://www.mathworks.com/help/fuzzy/mamfistype2.html is Mamdani type-2 fuzzy system.
halima lammari
on 26 Jun 2021
Bonjour monsieur,
La boite proposé IT2-FLS contient que type Sugeno?, est ce qu'il y a possibilite d'avoir Mamdani, je ne sais pas comment executer le toolbox?
Je vous remerci infiniment monsieur
halima lammari
on 26 Jun 2021
Hello
i am looking for the type-é logic toolbox with Mamdani inference, i work on Matlab2020a
help me download the toolbox (IT2-FLS Mamdani), show me steps i have to follow them
thank you so much
Bayarassou Houria
on 5 Jul 2021
Halima lammari SVP est ce que vous avez pu savoir comment avoir Mamdani, merci d'avance.
Walter Roberson
on 5 Jul 2021
Edited: Walter Roberson
on 6 Jul 2021
Bayarassou Houria
on 6 Jul 2021
Thank you sir
John Kupait
on 7 Jul 2021
hi
Are there any grafical design for type 2 FLC of mamdani or its just code ?
thank you
Walter Roberson
on 7 Jul 2021
That particular toolbox does not provide any graphic design interface.
John Kupait
on 7 Jul 2021
thank you Mr. Walter Roberson
med Max
on 3 Sep 2021
Edited: med Max
on 3 Sep 2021
hi,
The toolbox says that it support a GUI (graphical unit interface) for TSK inference and i'm looking at some pictures of the GUI for IT2 fuzzy systems? is it working and there something missing or what? could you please help me!
>> fuzzyt2
t2fis =
struct with fields:
name: 'Test'
type: 'sugeno'
andMethod: 'prod'
orMethod: 'probor'
defuzzMethod: 'wtaver'
impMethod: 'prod'
aggMethod: 'sum'
typeRedMethod: 'KM'
input: [1×2 struct]
output: [1×1 struct]
rule: [1×4 struct]
y =
0.1576
Walter Roberson
on 3 Sep 2021
The graphics component no longer appears to be part of the git download. It must have been there at some point, as I commented on an inner working of it...
med Max
on 9 Oct 2021
Edited: med Max
on 9 Oct 2021
Hello everyone;
For those who are looking for the GUI (graphical unit interface) of type-2 sugeno (TKS) inference! well, go to the usual github link: https://github.com/ahmettaskin/type-2-fuzzy-logic-systems-matlab-toolbox for the shown last version of this toolbox doesn't show the GUI but the older vesion does (stiil work) just click on #main then choose #tags and dowload the v1.0 INSTEAD of v1.1 and the graphical unit inference of type-2 fuzzy sets will open and work ^^.
Have a good day guys!
Bustanul Arifin
on 14 Oct 2021
Thx Max,
Finally, my problems solved
Adrián Ávila Villacís
on 27 Jun 2022
Hi, I am currently using the fuzzyt2 toolbox v1.0 because v1.1 does not run on my matlab R2021a, but when I add a second output variable I get the error can you help me?
Walter Roberson
on 27 Jun 2022
Please show the complete error message, indicating what MATLAB thinks is wrong with the line.
Adrián Ávila Villacís
on 27 Jun 2022
Edited: Walter Roberson
on 27 Jun 2022
Matlab show this message:
Scalar structure required for this assignment.
Error in helper.setCrispInterval (line 77)
fis.output.crisp='crisp';
Error in mfEditor/plotmfs>localSelectmf (line 426)
helper.setCrispInterval('crisp'); %% Edit1
Error while evaluating Text ButtonDownFcn.
More Answers (7)
nadji hadroug
on 28 Mar 2017
FUZZY_TYP_2 TOOLBOOX
8 Comments
Walter Roberson
on 28 Mar 2017
I do not see licensing information there? What license is it under?
youliang jiang
on 25 Apr 2018
FUZZY_TYP_2 TOOLBOOX is not used
Walter Roberson
on 25 Apr 2019
I suspect there is a place where an graphics handle initialized to 0 is implicitly compared to 0, something like
if Lines(2)
as an abbreviation for
if Lines(2) ~= 0
which used to be a valid way to test whether a graphics handle had been stored into the location.
In current MATLAB, you would in this circumstance use isvalid(), such as
if isvalid(Lines(2))
Ramkrishna Ghosh
on 1 Jan 2020
It is not working on Matlab 7
Walter Roberson
on 1 Jan 2020
Please expand on what is not working with matlab 7? And could you confirm that you are using MATLAB R14 or R14SP1?
Ramkrishna Ghosh
on 5 Oct 2020
fuzzy2
Undefined function or variable 'newfis2'.
Error in fuzzy2 (line 29)
newFis=newfis2('Untitled','mamdani'); whenever running this code
Walter Roberson
on 5 Oct 2020
newfis2 is defined in 461518359T2FLToolbox/T2FLToolbox/fuzzy2/fuzzy2/fuzzy2/newfis2.m where 461518359T2FLToolbox is the name of the directory created when you unzipped the toolbox.
Chad MacDonald
on 22 Mar 2022
As of R2019b, Fuzzy Logic Toolbox software natively supports interval type-2 fuzzy systems. For more information, see:
Walter Roberson
on 22 Dec 2012
8 Comments
Walter Roberson
on 22 Jul 2015
Edited: Walter Roberson
on 8 Jan 2016
I wrote to the corresponding author of Interval Type2 Fuzzy Logic Toolbox (IT2FLS), Engineering Letters volume 15 issue 1; unfortunately I received no reply.
However, there is another toolbox called MFLS described in Toolbox for Interval Type-2 Fuzzy Logic Systems. I was able to reach the corresponding author, who cleared the code for public use. Visit his page and go down to almost the bottom, to item 15, and click on the link there that says "[Software]" in order to obtain the toolbox. I am advised that the code was written for SciLab originally and so might need some tuning to work with MATLAB.
saeede soleymani
on 7 Jan 2016
Dear Mr Roberson, I'm so glad that read this page and understand you worked in this threat.Could you help me please? I want control an inverted pendulum with interval type2 fuzzy reinforcement learning, and change it to zslices method. I simulate pendulum with simmechnics but I can't write the m file correctly.how can I use this toolbox for my work? Sicerely yours
Walter Roberson
on 7 Jan 2016
I have not worked with Fuzzy Logic myself, and I have no idea what zslices method is. All I did was searches to find the code for other people to use, because the question had been asked a number of times.
Walter Roberson
on 4 Apr 2019
WANG XI: what is it you want to run in MATLB ?
arpita chakraborty
on 20 Apr 2021
hi... getting this error
Error in fuzzy2 (line 52)
while findobj(0,'Type','figure','Name',figName),
Walter Roberson
on 20 Apr 2021
What are the details of the error message? What does it say is going wrong? For example is it complaining about unknown variable figName ?
rajesh pashikanti
on 9 Dec 2021
iam getting error while installing IT2 tool box-fuzzyt2-
pathtool
>> fuzzyt2
Undefined function or variable 'fuzzyt2'.
Did you mean:
>> fuzzy
BANDREDDY BABU
on 6 Sep 2017
Thank you for your research related to IT2-FLS But while designing IT2-FLS in Matlab Simulation, I am unable to add Membership functions and unable to add rules in IT2-FLS
1 Comment
Walter Roberson
on 6 Sep 2017
Note that Tufan Kumbasar would not have been notified about your query.
sonya bahrabadi
on 24 Feb 2018
hi, I want matlab code of type-2 fuzzy logic controller design to control dc motor. Is anyone can help, Thanks Sonyabahrabadi@yahoo.com
1 Comment
Aman Kumar Singh
on 10 Nov 2018
Hi! Did you get the MATLAB model file? If yes, then could you please send it to me? Thank you! My email ID: amankumarsingh2468@gmail.com
Khothibul Umam
on 9 Oct 2021
>> fuzzyt2
t2fis =
struct with fields:
name: 'Test'
type: 'sugeno'
andMethod: 'prod'
orMethod: 'probor'
defuzzMethod: 'wtaver'
impMethod: 'prod'
aggMethod: 'sum'
typeRedMethod: 'KM'
input: [1×2 struct]
output: [1×1 struct]
rule: [1×4 struct]
y =
0.1576
I'm using the 2018b version, and a message like this appears, can you help me?
9 Comments
med Max
on 9 Oct 2021
Hi;
For those who are looking for the GUI (graphical unit interface) of type-2 sugeno (TKS) inference! well, go to the usual github link: https://github.com/ahmettaskin/type-2-fuzzy-logic-systems-matlab-toolbox for the shown last version of this toolbox doesn't show the GUI but the older vesion does (stiil work) just click on #main then choose #tags and dowload the v1.0 INSTEAD of v1.1 and the graphical unit inference of type-2 fuzzy sets will open and work ^^.
Have a good day!
Walter Roberson
on 9 Oct 2021
Good point, med Max
Mohamed Bensaadallah
on 31 Aug 2022
You're welcome guys! Glad to help.
Mohammed BOUTAYBI
on 14 Oct 2022
Thank you med Max, Good point
Omar Rateb Shehata
on 2 Jan 2023
Thank you very much mister med Max
Hasin
on 30 Aug 2022
Anyone can help me to remove this error for interval type 2 fuzzy logic.
fuzzyt2
Undefined function 'contains' for input arguments of type 'char'.
Error in readt2fis (line 142)
if ~contains(rangeStr,'CrispInterval')
Error in fuzzyt2 (line 26)
t2fis=readt2fis('test.t2fis'); % creates a Structure array
4 Comments
Walter Roberson
on 30 Aug 2022
That code requires at least R2016b.
Walter Roberson
on 30 Aug 2022
Upgrade? I would imagine that contains() is not the only newer function that is used.
See Also
Categories
Find more on Fuzzy Logic in Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)