In the stateflow operation in state machines, can the states have dynamic equations? & can fuzzy logic be used as guards for state transitions?

1 回表示 (過去 30 日間)
Bijit  Dey
Bijit Dey 2016 年 2 月 22 日
回答済み: Kyle Rawding 2021 年 3 月 17 日
the stateflow transition guard i.e the condition for transition can the be implemented by fuzzy logic ?

回答 (1 件)

Kyle Rawding
Kyle Rawding 2021 年 3 月 17 日
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

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by