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.

Working in Simulink ® Environment<br />

Building Your Own <strong>Fuzzy</strong> Simulink Models<br />

To build your own Simulink systems that use fuzzy logic, simply copy the<br />

<strong>Fuzzy</strong> <strong>Logic</strong> Controller block out of sltank (or any of the other Simulink demo<br />

systems available with the toolbox) and place it in your own block diagram.<br />

You can also find the <strong>Fuzzy</strong> <strong>Logic</strong> Controller blocks in the <strong>Fuzzy</strong> <strong>Logic</strong> Toolbox<br />

library. You can openthelibrarybyselecting<strong>Fuzzy</strong> <strong>Logic</strong> Toolbox in the<br />

Simulink Library Browser window, or by typing<br />

fuzblock<br />

at the MATLAB prompt.<br />

The following library appears.<br />

The <strong>Fuzzy</strong> <strong>Logic</strong> Toolbox library contains the <strong>Fuzzy</strong> <strong>Logic</strong> Controller<br />

and <strong>Fuzzy</strong> <strong>Logic</strong> Controller with Rule Viewer blocks. It also includes a<br />

Membership Functions sublibrary that contains Simulink blocks for the<br />

built-in membership functions.<br />

To add a block from the library, drag the block into the Simulink model<br />

window. You can get help on a specific block by clicking Help.<br />

About the <strong>Fuzzy</strong> <strong>Logic</strong> Controller Block<br />

For most fuzzy inference systems, the <strong>Fuzzy</strong> <strong>Logic</strong> Controller block<br />

automatically generates a hierarchical block diagram representation of your<br />

2-93

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

Saved successfully!

Ooh no, something went wrong!