Thursday, February 13, 2014

Fuzzylite-4.0 installation on Ubuntu 12.04

MATLAB Fuzzy Logic Tool Box is a popular tool box for designing and implementing fuzzy logic based applications or algorithms. This tool box generates a fis file to include in the Matlab programming. However, a developer working with other than Matlab tool need to face grate difficulty in porting such
.fis file into their applications. To mitigate this problem Open Source community had worked towards developing a flexible framework which is independent of other shared libraries. An out comes of this initiative is fuzzylite (www.fuzzylite.com). To use this, a user or developer need not require to install standard tools or packages. In this article, I will explain how to  install the fuzzylite framework on Ubuntu operating system.

Fuzzylite is a open source library thatsupport fuzzy logic based design and implementation of algorithms. Thisframework is suitable for application developers in C++ and Java. Since it is open source, fuzzylite can be installed on most commonly used operating environments such as Linux, Windows, Mac and Android without any difficulty. Fuzzylite covers all major features used by developers in their applications. In addition, It supports a GUI (Graphical User Interface) (called qtfuzzylite) version that enable the user to create fuzzy rules graphically and export them into fuzzy lite language (.fll). A user can import the rules from fuzzy interface system (.fis(of MATLAB) and fuzzy control language (.fcl) (of Octave). Moreover, several examples are also placed along with source package for the purpose of understanding. 




Now I explain the installation of fuzzylite on UBUNTU 12.04LTS



To install fuzzylite user need to install two packages – cmake and qt4 ( a cross platform application framework)




step1sudo gedit /etc/apt/sources.list


step2: add the source

deb http://cz.archive.ubuntu.com/ubuntu trusty main

step3sudo apt-get update

step 4: sudo apt-get install cmake qt4-default

step 5: download source code of fuzzylite from
 http://www.fuzzylite.com/downloads/



step 6: extract the tar file – tar xvf fuzzylite-4.0.1-source.zip



step 7: cd fuzzylite-4.0



#fuzzylite-4.0:~$ cd fuzzylite



#fuzzylite-4.0/fuzzylite:~$ cmake .  
  


cmake – space – and a dot
and press enter)



#fuzzylite-4.0/fuzzylite:~$ make



#fuzzylite-4.0/fuzzylite:~$ sudo make
install



#fuzzylite-4.0/fuzzylite:~$ cd ..



#fuzzylite-4.0:~$ cd qtfuzzylite

#fuzzylite-4.0/qtfuzzylite:~$ cmake .



#fuzzylite-4.0/qtfuzzylite:~$
make



#fuzzylite-4.0/qtfuzzylite:~$
sudo make install



#fuzzylite-4.0/qtfuzzylite:~$
gedit ~/.bashrc



at the end of the
file




export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /fuzzylite/bin



example,



export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH::/home/prv/fuzzylite-4.0/fuzzylite/bin



save the file and
relogin/resart your system



After
relogin/restart open command prompt and type



qtfuzzylite



and use the
fuzzylite GUI tool.