주요 콘텐츠

Stateflow 차트 관련 고려 사항

R2026b
Stateflow® 차트 이름, 속성 및 아키텍처

Stateflow 차트 이름, 속성 및 아키텍처에 고무결성 지침을 적용합니다.

모델링 지침

모두 확장

hisl_0031: 모델 파일 이름Use naming conventions for model file names
hisl_0032: 모델 요소 이름Naming conventions for model elements that produce valid identifiers in generated code
hisf_0001: 상태 머신 유형Use the same state machine type for all Stateflow charts in the model
hisf_0011: Stateflow 디버그 설정Protect against unreachable code and indeterminate execution time by configuring Stateflow debugging settings
hisf_0004: 코드 규정 준수를 개선하기 위해 재귀 함수 호출 방지Avoid recursive function calls to promote bounded call behavior in generated code
hisf_0013: 천이 경로 사용(병렬 상태 경계를 가로지름)Avoid creating transitions that cross from one parallel state to another
hisf_0014: 천이 경로 사용(여러 상태를 통과함)Avoid transition paths that pass through states without ending on a substate
hisf_0015: 강한 데이터형 지정(표현식에서 변수 및 파라미터 형변환)Explicitly type cast variables and parameters of different data types in expressions
hisf_0016: Stateflow 포트 이름Name Stateflow input and output ports the same as the corresponding signal
hisf_0017: Stateflow 데이터 객체 범위 지정Define locally scoped Stateflow data objects at the chart level or below