Contenido principal

Consideraciones sobre el gráfico de Stateflow

R2026b
Nombres, propiedades y arquitectura del gráfico de Stateflow®

Aplique directrices de alta integridad a nombres, propiedades y arquitectura de gráficos de Stateflow.

Directrices de modelado

expandir todo

hisl_0031: Nombres de archivo de los modelosUse naming conventions for model file names
hisl_0032: Nombres de elementos de los modelosNaming conventions for model elements that produce valid identifiers in generated code
hisf_0001: Tipo de máquina de estadosUse the same state machine type for all Stateflow charts in the model
hisf_0011: Ajustes de depuración de StateflowProtect against unreachable code and indeterminate execution time by configuring Stateflow debugging settings
hisf_0004: Protección frente a llamadas a funciones recursivas para mejorar el cumplimiento de las normas de codificaciónAvoid recursive function calls to promote bounded call behavior in generated code
hisf_0013: Uso de rutas de transición (cruzar límites de estados paralelos)Avoid creating transitions that cross from one parallel state to another
hisf_0014: Uso de rutas de transición (pasar por estados)Avoid transition paths that pass through states without ending on a substate
hisf_0015: Tipado fuerte de datos (convertir variables y parámetros en expresiones)Explicitly type cast variables and parameters of different data types in expressions
hisf_0016: Nombres de puertos de StateflowName Stateflow input and output ports the same as the corresponding signal
hisf_0017: Ámbito de objetos de datos de StateflowDefine locally scoped Stateflow data objects at the chart level or below