Creating custom model advisor checks for Stateflow

1 回表示 (過去 30 日間)
John Fiaschetti
John Fiaschetti 2023 年 2 月 6 日
コメント済み: John Fiaschetti 2023 年 2 月 7 日
I am developing a series of custom Model Advisor checks to support my modeling standard. I want to be able to look at the data defined in a state chart to check its type, size, etc. I am not seeing where these properties are available programmatically. The SF API is mainly for creating charts. The get_param and get commands give mostly block attributes, not internals. Is this possible?
Thanks!

採用された回答

Fangjun Jiang
Fangjun Jiang 2023 年 2 月 7 日
Yes. Use find(xxx, '-isa', 'Stateflow.Data') to find and then get().
web(fullfile(docroot, 'stateflow/api/properties-and-methods-sorted-by-chart-object.html'))
  1 件のコメント
John Fiaschetti
John Fiaschetti 2023 年 2 月 7 日
Thanks Fangjun! It was not clear in the documentation to me, but now I understand.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMAB Modeling Guidelines についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by