31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Simulating <strong>Fuzzy</strong> Inference Systems Using the <strong>Fuzzy</strong> Inference Engine<br />

Simulating <strong>Fuzzy</strong> Inference Systems Using the <strong>Fuzzy</strong><br />

Inference Engine<br />

In this section...<br />

“Uses of the <strong>Fuzzy</strong> Inference Engine” on page 2-163<br />

“About the <strong>Fuzzy</strong> Inference Engine” on page 2-163<br />

“Example — Using the <strong>Fuzzy</strong> Inference Engine on Windows Platforms” on<br />

page 2-164<br />

“Example — Using the <strong>Fuzzy</strong> Inference Engine on UNIX Platforms” on<br />

page 2-168<br />

Uses of the <strong>Fuzzy</strong> Inference Engine<br />

<strong>Fuzzy</strong> <strong>Logic</strong> Toolbox software provides a stand-alone C code fuzzy inference<br />

engine. Youcanusetheengineasanalternative tool to simulate the<br />

outputs of your fuzzy inference system (FIS), without using the MATLAB<br />

environment. You can perform the following tasks using the fuzzy inference<br />

engine:<br />

• Perform fuzzy inference using a FIS structure file and an input data file.<br />

TolearnmoreabouthowtocreateaFISstructurefile, see “Building<br />

Systems with <strong>Fuzzy</strong> <strong>Logic</strong> Toolbox Software” on page 2-31.<br />

• Customize the fuzzy inference engine to include your own membership<br />

functions.<br />

• Embed the executable code in other external applications.<br />

About the <strong>Fuzzy</strong> Inference Engine<br />

The stand-alone fuzzy inference engine consists of two C code source files<br />

fismain.c and fis.c in the matlabroot\toolbox\fuzzy\fuzzy directory.<br />

The fismain.c file contains only the main() function and you can easily<br />

modify it to adapt to other applications. It is ANSI C compatible, and you can<br />

compile it with any ANSI C compiler.<br />

2-163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!