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!