Considerazioni sui blocchi di Simulink
R2026bApplicare linee guida per l'alta integrità ai nomi dei blocchi Simulink®, alle operazioni matematiche, alle porte e ai sottosistemi, al routing del segnale, alle operazioni logiche e alle operazioni sui bit.
Linee guida per la modellazione
| hisl_0031: Nomi dei file del modello | Use naming conventions for model file names |
| hisl_0032: Nomi degli elementi del modello | Naming conventions for model elements that produce valid identifiers in generated code |
| hisl_0001: Utilizzo del blocco Abs | Avoid unsupported data types and protect against integer overflow for the Abs block |
| hisl_0002: Utilizzo delle operazioni di resto e reciproco | To support robustness of generated code, when using the Math Function block with
remainder-after-division (rem) or reciprocal
(reciprocal) operations |
| hisl_0003: Utilizzo delle operazioni di radice quadrata | To support robustness of generated code, when using the Square Root operations |
| hisl_0028: Utilizzo dei blocchi Reciprocal Square Root | Protect inputs of the Reciprocal Square Root block to avoid undesirable results in generated code |
| hisl_0004: Utilizzo delle operazioni con logaritmo naturale e logaritmo in base 10 | Protect against invalid inputs to logarithm operations |
| hisl_0005: Utilizzo dei blocchi Product | Protect divisor inputs from becoming singular matrices in Product blocks |
| hisl_0029: Utilizzo dei blocchi Assignment | Initialize array fields before first use in the Assignment block to avoid undesirable results in generated code |
| hisl_0066: Utilizzo dei blocchi Gain | Set the Gain block value to a nonzero value other than 1 to support traceability of generated code |
| hisl_0067: Protezione dai calcoli con divisione per zero | Protect the divisor from going to zero in divide operations to improve robustness of generated code |
| hisl_0006: Utilizzo dei blocchi While Iterator | Set maximum number of iterations for While Iterator blocks to support bounded iterative behavior |
| hisl_0007: Utilizzo dei sottosistemi For Iterator o While Iterator | Avoid using sample time-dependent blocks within For Iterator or While Iterator subsystems |
| hisl_0008: Utilizzo dei blocchi For Iterator | Configure For Iterator blocks to support bounded iterative behavior in generated code |
| hisl_0010: Utilizzo dei blocchi If e dei blocchi If Action Subsystem | Connect If block outports to If Action Subsystem blocks and use else conditions to support verifiable generated code |
| hisl_0011: Utilizzo dei blocchi Switch Case e dei blocchi Action Subsystem | To support verifiable generated code, when using the Switch Case block |
| hisl_0024: Definizione dell'interfaccia Inport | Define data type, port dimensions, and sample time for inports to support strong typing and unambiguous model behavior |
| hisl_0025: Progettazione delle specifiche min/max delle interfacce di input | Provide design minimum and maximum ranges for inport interfaces to support precise input interface specification |
| hisl_0026: Progettazione delle specifiche min/max delle interfacce di output | Provide design minimum and maximum ranges for outport interfaces to support precise output interface specification |
| hisl_0075: Utilizzo dei collegamenti alla libreria | Avoid disabled and parameterized library links for consistent simulation and code generation (Da R2022a) |
| hisl_0077: Definizione dell'interfaccia Outport | Define data type, port dimensions, and sample time for outport interfaces (Da R2022b) |
| hisl_0078: Utilizzo di schemi di modellazione identici | Account for identical and similar modeling patterns to reduce code complexity (Da R2024a) |
| hisl_0079: Connessioni alle porte di input/output della radice | Adhere to internal connection constraints on root-level Inport and Outport blocks to improve traceability (Da R2024a) |
| hisl_0015: Utilizzo dei blocchi Merge | Use Merge blocks with mutually exclusive conditionally executed subsystems to support unambiguous behavior |
| hisl_0021: Metodo coerente di indicizzazione del vettore | Use a consistent vector indexing method within a model to reduce the risk of indexing errors |
| hisl_0022: Selezione del tipo di dato per i segnali indice | Use an appropriate data type for index signals to prevent unexpected results and enable correct data access |
| hisl_0023: Verifica dei blocchi di varianti | Configure Variant block activation time to simplify consistency testing between a model and generated code |
| hisl_0034: Utilizzo dei blocchi Signal Routing | Avoid the ~= operator on floating-point data types in Switch blocks to improve model robustness |
| hisl_0016: Utilizzo dei blocchi che calcolano gli operatori relazionali | Avoid using equality and inequality operators on floating-point data types |
| hisl_0017: Utilizzo dei blocchi che calcolano gli operatori relazionali (2) | Configure relational operator blocks to produce unambiguous behavior in generated code |
| hisl_0018: Utilizzo del blocco Logical Operator | Configure the Logical Operator block to produce unambiguous behavior in generated code |
| hisl_0073: Utilizzo delle operazioni di spostamento di bit | Avoid shift operations greater than or equal to the bit-width to prevent violations of coding standards |
| hisl_0033: Utilizzo dei blocchi Lookup Table | Keep out-of-range protection enabled in Lookup Table blocks to protect against out-of-range inputs or indices |
| hisl_0072: Utilizzo dei parametri regolabili per i modelli referenziati | Use Simulink.Parameter objects to define tunable parameters and prevent unintended loss of tunability |
| hisl_0073: Utilizzo delle operazioni di spostamento di bit | 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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- 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)