Type 2 fuzzy logic System

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

hi. if u have found this toolbox, please refer me. tnx
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.
https://www.mathworks.com/help/fuzzy/mamfistype2.html
If anyone here got the link for Mamdani type2 fuzzy logic toolbox please share.Unable to find IT2FLS Mamdani type2.
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
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
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
Hello sir,
thank you very much sir
cordially
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
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.
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
pathtool
>> fuzzyt2
Undefined function or variable 'fuzzyt2'.
Did you mean:
>> fuzzy
Hi, please; Can I use fuzzy logic in Simulink online?

Sign in to comment.

 Accepted Answer

Tufan Kumbasar
Tufan Kumbasar on 7 Jan 2016

5 votes

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

Thank you, Tufan Kumbasar. I have gone through the other Questions that ask about IT2FLS and have referred them to this Question.
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.
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
thank's so much Mr Roberson. you help me a lot of times. you are the best.
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?
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,
Why the toolbox can't run properly in matlab 2015 or 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
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.
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.
Hi, excuse me, how can i install and use the "IT2-FIS" toolbox in matlab?
hi,excuse me。i can not download the toolbox,please
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.
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
Is it possible that your image is rgb instead of grayscale?
oh, I tried
Igray=rgb2gray(Irgb);
but it did not work.
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 ?
I am not getting toolbox for mamdani type 2 fuzzy logic but getting for sugeno type 2 fuzzy logic.
I am pointing out that type 2 fuzzy is now part of MATLAB, so you do not need to use the third-party toolbox.
This IT2FLS toolbox supports only TSK system. How can I get Mamdani type-2 fuzzy system???
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
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
Halima lammari SVP est ce que vous avez pu savoir comment avoir Mamdani, merci d'avance.
Thank you sir
hi
Are there any grafical design for type 2 FLC of mamdani or its just code ?
thank you
That particular toolbox does not provide any graphic design interface.
thank you Mr. Walter Roberson
med Max
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
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
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!
Thx Max,
Finally, my problems solved
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?
Please show the complete error message, indicating what MATLAB thinks is wrong with the line.
Adrián Ávila Villacís
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.

Sign in to comment.

More Answers (7)

nadji hadroug
nadji hadroug on 28 Mar 2017
FUZZY_TYP_2 TOOLBOOX

8 Comments

I do not see licensing information there? What license is it under?
FUZZY_TYP_2 TOOLBOOX is not used
error:Unable to convert from matlab.graphics.GraphicsPlaceholder to logical.
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))
It is not working on Matlab 7
Please expand on what is not working with matlab 7? And could you confirm that you are using MATLAB R14 or R14SP1?
fuzzy2
Undefined function or variable 'newfis2'.
Error in fuzzy2 (line 29)
newFis=newfis2('Untitled','mamdani'); whenever running this code
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.

Sign in to comment.

Chad MacDonald
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
Walter Roberson on 22 Dec 2012

0 votes

8 Comments

Walter Roberson
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.
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
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.
Dear Mr Roberson. How could I run it in MATLAB?
What commands are available to run?
WANG XI: what is it you want to run in MATLB ?
hi... getting this error
Error in fuzzy2 (line 52)
while findobj(0,'Type','figure','Name',figName),
What are the details of the error message? What does it say is going wrong? For example is it complaining about unknown variable figName ?
iam getting error while installing IT2 tool box-fuzzyt2-
pathtool
>> fuzzyt2
Undefined function or variable 'fuzzyt2'.
Did you mean:
>> fuzzy

Sign in to comment.

BANDREDDY BABU
BANDREDDY BABU on 6 Sep 2017

0 votes

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

Note that Tufan Kumbasar would not have been notified about your query.

Sign in to comment.

sonya bahrabadi
sonya bahrabadi on 24 Feb 2018

0 votes

hi, I want matlab code of type-2 fuzzy logic controller design to control dc motor. Is anyone can help, Thanks Sonyabahrabadi@yahoo.com

2 Comments

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
please could you send to me the MATLAB model file if you get it ?
my email is: nesrine.engineer 03031997@gmail.com

Sign in to comment.

Khothibul Umam
Khothibul Umam on 9 Oct 2021

0 votes

>> 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

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!
Good point, med Max
Thank you walter that's kind of you. I'm glad to help ^^.
Thank's a lot med Max for your help
Good Job
Thanks a lot @med Max....! It helped...!
You're welcome guys! Glad to help.
Thank you med Max, Good point
Thank you very much mister med Max
Thank you very much med Max.

Sign in to comment.

Hasin
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

That code requires at least R2016b.
Any solution for 2016a version.
Upgrade? I would imagine that contains() is not the only newer function that is used.
Thanks for the help.

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!