MATLAB 함수 및 MATLAB 코드 관련 고려 사항
R2026bMATLAB 함수, MATLAB® 코드
MATLAB 함수 및 MATLAB 코드에 고무결성 지침을 적용합니다.
모델링 지침
| himl_0001: 표준화된 MATLAB 함수 헤더 사용 | Use a standardized header to document the purpose and use of MATLAB functions |
| himl_0003: 사용자 정의 MATLAB 함수의 복잡도 | Limit the size and complexity of MATLAB function code |
| himl_0002: MATLAB 함수 경계에 강한 데이터형 지정 | Explicitly define the complexity and type of input signals, output signals, and parameters at MATLAB function interfaces |
| himl_0004: 코드 생성에 대한 MATLAB 코드 분석기 권장 사항 | Use MATLAB Code Analyzer with %#codegen directive and follow code
generation recommendations |
| himl_0006: MATLAB 코드의 if/elseif/else 패턴 | Terminate if/elseif/else
constructs with an else statement containing meaningful
comment |
| himl_0007: MATLAB 코드의 switch/case/otherwise 패턴 | Include at least two case statements and an otherwise statement with a meaningful comment in switch constructs |
| himl_0008: MATLAB 코드의 관계 연산자 데이터형 | Use the same data type for left and right operands of relational operators |
| himl_0010: 논리 연산자 및 함수가 있는 MATLAB 코드 | Use logical data types for logical operators and logical functions |
| himl_0011: 조건식의 데이터형 및 크기 | Use logical scalars for condition expressions |
| himl_0012: 코드 생성 시 MATLAB 함수 사용 | Restrict MATLAB code to functions supported by code generation |
| himl_0013: 내장 MATLAB 함수 복잡도에 대한 제한 사항 | Limit built-in MATLAB function usage that may produce overly complex generated code |
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)