How to find number of blocks in a simulink model
古いコメントを表示
I have large size simulink models.i want to find number of blocks used in that simulink model.also tell can be find the following information about simulink model: Number of connections, used block types, maximum size of connected components, number of connected components, number of edges and nodes plz help.its urgent
採用された回答
その他の回答 (1 件)
vijay reddy
2021 年 9 月 7 日
編集済み: vijay reddy
2021 年 9 月 9 日
0 投票
To find Number of each type of block, Number of each type of Stateflow® object and Number of states, outputs, inputs, and sample times of the root model of system 'sys' you can try this.
sldiagnostics('sys')
if you need number of each type of block only
sldiagnostics('sys','countblocks')
カテゴリ
ヘルプ センター および File Exchange で Configure and View Diagnostics についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!