Fuzzy Logic in Simulink
R2026bFuzzy Logic Toolbox™ software provides blocks for simulating your fuzzy inference system in Simulink. For more information, see Simulate Fuzzy Inference Systems in Simulink.
Blocks
| Fuzzy Logic Controller | Evaluate fuzzy inference system | |
| Fuzzy Logic Controller with Ruleviewer | Evaluate fuzzy inference system and view rules | |
| FIS Tree | Evaluate fuzzy inference system tree (Since R2024a) | |
| Fuzzy PID Controller | Fuzzy logic-based PID controller (Since R2024b) |
Tools
| Fuzzy PID Tuner | Tune gains of Fuzzy PID Controller block (Since R2026b) |
Topics
- Simulate Fuzzy Inference Systems in Simulink
You can implement your fuzzy inference system in Simulink using Fuzzy Logic Controller and FIS Tree blocks.
- Design Fuzzy Inference System in Simulink
You can modify your FIS design by opening Fuzzy Logic Designer directly from the Fuzzy Logic Controller block. (Since R2025a)
- Water Level Control in a Tank
Implement a water level controller using the Fuzzy Logic Controller block in Simulink.
- Temperature Control in a Shower
Implement a water temperature controller using the Fuzzy Logic Controller block in Simulink.
- Implement Fuzzy PID Controller in Simulink
Implement a fuzzy PID controller using a lookup table, and compare the controller performance with a traditional PID controller.
- Fuzzy PID Control with Type-2 FIS
Create a type-2 fuzzy logic PID controller and compare its performance with a type-1 fuzzy PID controller and a conventional PID controller.
- Tune Fuzzy PID Controller to Meet Step-Response Requirements
You can optimize the parameters of your fuzzy PID controller to satisfy design requirements using Simulink Design Optimization™ software. (Since R2026b)
- Analyze Absolute Stability of Fuzzy Controller
Analyze the absolute stability of a fuzzy controller using sector bounds.


