Überlegungen zu MATLAB-Funktionen und MATLAB Programmcode
R2026bAnwenden von Hochintegritäts-Richtlinien für MATLAB-Funktionen und MATLAB Programmcode.
Richtlinien zur Modellierung
| himl_0001: Usage of standardized MATLAB function headers | Use a standardized header to document the purpose and use of MATLAB functions |
| himl_0003: Complexity of user-defined MATLAB Functions | Limit the size and complexity of MATLAB function code |
| himl_0002: Strong data typing at MATLAB function boundaries | Explicitly define the complexity and type of input signals, output signals, and parameters at MATLAB function interfaces |
| himl_0004: MATLAB Code Analyzer recommendations for code generation | Use MATLAB Code Analyzer with %#codegen directive and follow code
generation recommendations |
| himl_0006: MATLAB code if / elseif / else patterns | Terminate if/elseif/else
constructs with an else statement containing meaningful
comment |
| himl_0007: MATLAB code switch / case / otherwise patterns | Include at least two case statements and an otherwise statement with a meaningful comment in switch constructs |
| himl_0008: MATLAB code relational operator data types | Use the same data type for left and right operands of relational operators |
| himl_0010: MATLAB code with logical operators and functions | Use logical data types for logical operators and logical functions |
| himl_0011: Data type and size of condition expressions | Use logical scalars for condition expressions |
| himl_0012: Usage of MATLAB functions for code generation | Restrict MATLAB code to functions supported by code generation |
| himl_0013: Limitation of built-in MATLAB Function complexity | 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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)