stateflow / fuzzy logic / help

1 view (last 30 days)
C.ast
C.ast on 13 Feb 2021
Answered: Kyle Rawding on 17 Mar 2021
hello i have a question on simulink stateflow and fuzzy logic.
i would like to know if it is possible to use fuzzy logic on stateflow?
thank you

Answers (1)

Kyle Rawding
Kyle Rawding on 17 Mar 2021
Hi -
One potential way to integrate fuzzy logic and Simulink / Stateflow would be to use the Fuzzy Logic Controller block as an input to a Stateflow block.
Two alternate methods you can also use:
  • Simulink function to use Fuzzy Logic Controller block as a subsystem. A Simulink function is a graphical object that enables you to call a Simulink subsystem in the actions of states and transitions.
  • MATLAB function to use specific Fuzzy Logic Toolbox functions (e.g. evalfis) that supports code generation to evaluate a fuzzy inference system (FIS).
Cheers,
Kyle

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!