How to find number of blocks in a simulink model
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
vijay reddy
am 7 Sep. 2021
Bearbeitet: vijay reddy
am 9 Sep. 2021
0 Stimmen
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')
Kategorien
Mehr zu Configure and View Diagnostics finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!