주요 콘텐츠

Complexity

R2026b

The Complexity section summarizes the logic and structural complexity of the selected unit design.

Halstead Difficulty

The Halstead difficulty reflects how difficult the design logic is to read and write, based on the size and usage of operators and operands across Simulink®, Stateflow®, and MATLAB®.

Higher values indicate dense logic that might be harder to maintain.

Cyclomatic Complexity

Design cyclomatic complexity reflects the number of possible execution paths through the design.

Higher values indicate more decision paths, which increase the effort required to test and maintain the design.

Select either widget to open the Model Maintainability Dashboard for a detailed breakdown of complexity sources.