Check safety-related optimization settings for logic signals
mathworks.hism.hisl_0045
Dependencies: Simulink® Check™
Usage: High-Integrity System Modeling
Description
This check verifies that the model optimization configuration parameter for logic signals is set optimally for generating code for a safety-related application. Although highly optimized code is desirable for most real-time systems, some optimizations can have undesirable side effects that impact safety.
Recommended Actions and Results
Review the violations that are flagged by the check and the recommended action for fixing the issue. After applying the changes, save the model and rerun the check analysis.
If you consider the flagged violation to either not be relevant or not feasible for your design, use the Justify button to provide rationale as to why the violation is either not relevant or not feasible for your design.
You can use the Fix button to allow the Model Advisor to fix all flagged violations. For this check, the Model Advisor configures model code generation settings that can impact safety.
Modeling Condition | Recommended Action |
---|---|
Blocks that generate logic signals output a signal of double
data type. | Select model configuration parameter Implement logic signals as Boolean
data (vs. double) or set the parameter
|
Capabilities and Limitations
Supports justification
Does not require model compilation
Does not run on library models
Does not allow exclusions of blocks or charts
Version History
Introduced in R2018b
See Also
Implement logic signals as Boolean data (vs. double)
Topics
- Check Your Model Using the Model Advisor
- Address Model Check Results
- Save and View Model Advisor Check Reports
- Improve Simulation Performance Using Performance Advisor
- Upgrade Models Using Upgrade Advisor
- Use Model Advisor Configuration Editor to Customize Model Advisor
- Exclude Blocks from Model Advisor Check Analysis
- Justify Model Advisor Violations from Check Analysis
- Check Model Compliance Using Edit-Time Checking
- Optimize Generated Code Using Minimum and Maximum Values (Embedded Coder)
- Check Model Compliance