Model Size Metrics for Simulink
Versión 1.0.1 (28,5 KB) por
Sysenso Systems
getModelMetrics - Helps to find the size metrics of the given Model.
Use cases: This metric can be used to compare two models for its complicity in-terms of size and used for time estimation to work on the model.
Usage Instructions:
Note: Add the utils and its sub folders into MATLAB path before calling the getModelMetrics function.
Syntax:
>>modelMetrics = getModelMetrics(<'ModelName'>)
modelMetrics - structure contains following details.
modelMetrics.totalBlocksCount - number of blocks in the model
modelMetrics.subsystemCount - number of Subsystems in the model
modelMetrics.libraryBlockCount - number of libarary blocks in the model
modelMetrics.userDefinedBlockCount - number of User-Defined Libaray blocks in the model
modelMetrics.modelReferenceBlockCount - number of ModelReferenced blocks in the model
modelMetrics.portBlocksCount - number of PortBlocks in the model
modelMetrics.stateFlowBlockCount - number of StateFlow blocks in the model
modelMetrics.modelHierarchicalDepth - the HierarchicalDepth of the model
modelMetrics.totalEffectiveLines - number of EffectiveLines in the model
modelMetrics.modelParameters - list the model parameters from base, model and masked workspace
Example:
>>modelMetrics = getModelMetrics('sldemo_autotrans')
Developed by: Sysenso Systems, https://sysenso.com/
Contact: contactus@sysenso.com
Version:
1.0 - Initial Version.
Citar como
Sysenso Systems (2024). Model Size Metrics for Simulink (https://github.com/SysensoSystems/ModelMetrics), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2015b
Compatible con cualquier versión desde R2015b
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Simulink > Simulation >
Más información sobre Simulation en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
metric_functions
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.1 | Connected with github repository. |
|
|
1.0.0 |
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.