fuzzy controller simulink problem in IPG CarMaker

2 views (last 30 days)
I am trying to build a fuzzy controller. my controller has 3 steps. in each step 3 single outputs are calculated but I need one of them. I do not know how to select them and with which block. If anybody is there please help me :(
  2 Comments
Haritha
Haritha on 16 Aug 2018
First create fuzzy rule base block in simulink and create rules for your plant in fuzzy tool save it in .fis format in the same directory then load that file to workspace. After loading fis file run simulink now
Shabnam
Shabnam on 16 Aug 2018
Many thanks for your comment. I have done this and I have 3 outputs now, but I need to choose one of them for each step. What should I do for that?

Sign in to comment.

Accepted Answer

Haritha
Haritha on 16 Aug 2018
Edited: Haritha on 16 Aug 2018
Use Switch block in Simulink / Signal Routing for selecting one output. Otherwise try Switch Case block.
  1 Comment
Shabnam
Shabnam on 16 Aug 2018
I used that but it did not work properly. I run my controller in IPG CarMaker and my choices are limited :(

Sign in to comment.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!