Creating custom model advisor checks for Stateflow
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
采纳的回答
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'))
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MAB Modeling Guidelines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!