フィルターのクリア

Is it possible to produce a Stateflow diagram from within a MATLAB code?

1 回表示 (過去 30 日間)
n
n 2011 年 1 月 24 日
Is it possible to produce a stateflow diagram from within a MATLAB code?
If so can anyone give me a simple example of producing a state diagram for example for two states s1 and s2 defining and showing all possible transitions? Or a trellis diagram for some, lets say like 5 sequences: [s1 s1 s2 s1 s2]?

採用された回答

Andreas Goser
Andreas Goser 2011 年 1 月 24 日
Yes, this is possible. This is called "Stateflow API" and is documented here:
I can also recommend the following example code and a Technical Support knowledgbase article:
  1 件のコメント
n
n 2011 年 1 月 29 日
Thanks for the info; especially the last link step by step example.
I wonder if there is any model-diagram drawing toolbox for matlab that illustrates the model from its defined structure in matlab. for example trellis or Markov diagram from their matlab structures?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by