Simulink 블록 관련 고려 사항
R2026b이름, 수학 연산, 포트 및 서브시스템, 신호 라우팅, 논리 연산 및 비트 연산
Simulink® 블록 이름, 수학 연산, 포트 및 서브시스템, 신호 라우팅, 논리 연산 및 비트 연산에 고무결성 지침을 적용합니다.
모델링 지침
| hisl_0031: 모델 파일 이름 | Use naming conventions for model file names |
| hisl_0032: 모델 요소 이름 | Naming conventions for model elements that produce valid identifiers in generated code |
| hisl_0001: Abs 블록 사용 | Avoid unsupported data types and protect against integer overflow for the Abs block |
| hisl_0002: 나머지 및 역수 연산 사용 | To support robustness of generated code, when using the Math Function block with
remainder-after-division (rem) or reciprocal
(reciprocal) operations |
| hisl_0003: 제곱근 연산 사용 | To support robustness of generated code, when using the Square Root operations |
| hisl_0028: Reciprocal Square Root 블록 사용 | Protect inputs of the Reciprocal Square Root block to avoid undesirable results in generated code |
| hisl_0004: 자연 로그 및 밑이 10인 로그 연산 사용 | Protect against invalid inputs to logarithm operations |
| hisl_0005: Product 블록 사용 | Protect divisor inputs from becoming singular matrices in Product blocks |
| hisl_0029: Assignment 블록 사용 | Initialize array fields before first use in the Assignment block to avoid undesirable results in generated code |
| hisl_0066: Gain 블록 사용 | Set the Gain block value to a nonzero value other than 1 to support traceability of generated code |
| hisl_0067: 0으로 나누기 계산 방지 | Protect the divisor from going to zero in divide operations to improve robustness of generated code |
| hisl_0006: While Iterator 블록 사용 | Set maximum number of iterations for While Iterator blocks to support bounded iterative behavior |
| hisl_0007: For Iterator Subsystem 또는 While Iterator Subsystem 사용 | Avoid using sample time-dependent blocks within For Iterator or While Iterator subsystems |
| hisl_0008: For Iterator 블록 사용 | Configure For Iterator blocks to support bounded iterative behavior in generated code |
| hisl_0010: If 블록 및 If Action Subsystem 블록 사용 | Connect If block outports to If Action Subsystem blocks and use else conditions to support verifiable generated code |
| hisl_0011: Switch Case 블록 및 Action Subsystem 블록 사용 | To support verifiable generated code, when using the Switch Case block |
| hisl_0024: Inport 인터페이스 정의 | Define data type, port dimensions, and sample time for inports to support strong typing and unambiguous model behavior |
| hisl_0025: 입력 인터페이스의 설계 최솟값/최댓값 지정 | Provide design minimum and maximum ranges for inport interfaces to support precise input interface specification |
| hisl_0026: 출력 인터페이스의 설계 최솟값/최댓값 지정 | Provide design minimum and maximum ranges for outport interfaces to support precise output interface specification |
| hisl_0075: 라이브러리 링크 사용 | Avoid disabled and parameterized library links for consistent simulation and code generation (R2022a 이후) |
| hisl_0077: Outport 인터페이스 정의 | Define data type, port dimensions, and sample time for outport interfaces (R2022b 이후) |
| hisl_0078: 동일한 모델링 패턴 사용 | Account for identical and similar modeling patterns to reduce code complexity (R2024a 이후) |
| hisl_0079: 루트 입력/출력 포트에 대한 연결 | Adhere to internal connection constraints on root-level Inport and Outport blocks to improve traceability (R2024a 이후) |
| hisl_0015: Merge 블록 사용 | Use Merge blocks with mutually exclusive conditionally executed subsystems to support unambiguous behavior |
| hisl_0021: 일관된 벡터 인덱싱 방법 | Use a consistent vector indexing method within a model to reduce the risk of indexing errors |
| hisl_0022: 인덱스 신호에 대한 데이터형 선택 | Use an appropriate data type for index signals to prevent unexpected results and enable correct data access |
| hisl_0023: Variant 블록의 검증 | Configure Variant block activation time to simplify consistency testing between a model and generated code |
| hisl_0034: Signal Routing 블록 사용 | Avoid the ~= operator on floating-point data types in Switch blocks to improve model robustness |
| hisl_0016: 관계 연산자를 계산하는 블록 사용 | Avoid using equality and inequality operators on floating-point data types |
| hisl_0017: 관계 연산자를 계산하는 블록 사용(2) | Configure relational operator blocks to produce unambiguous behavior in generated code |
| hisl_0018: Logical Operator 블록 사용 | Configure the Logical Operator block to produce unambiguous behavior in generated code |
| hisl_0073: 비트 시프트 연산 사용 | Avoid shift operations greater than or equal to the bit-width to prevent violations of coding standards |
| hisl_0033: Lookup Table 블록 사용 | Keep out-of-range protection enabled in Lookup Table blocks to protect against out-of-range inputs or indices |
| hisl_0072: 참조된 모델에 대해 조정 가능형 파라미터 사용 | Use Simulink.Parameter objects to define tunable parameters and prevent unintended loss of tunability |
| hisl_0073: 비트 시프트 연산 사용 | Avoid shift operations greater than or equal to the bit-width to prevent violations of coding standards |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)