metric.config.Configuration
R2026bDescription
A metric.config.Configuration object represents a custom
threshold configuration that contains threshold sets, threshold rules, and classifications. To
make custom thresholds appear in the Model Testing, SIL Code Testing, and PIL Code Testing
dashboards, use this object to copy and modify a shipping threshold set. Then, save and
register the configuration. For more information, see Adjust Dashboard Thresholds to Match Your Testing Criteria.

Creation
To create a metric.config.Configuration object, either:
Copy an existing shipping threshold set using the
copyThresholdSetfunction.Load an existing configuration from a JSON file using the
function.metric.config.Configuration.open
Threshold customization uses a hierarchy of objects:
A configuration (
metric.config.Configuration) contains one or more threshold sets.A threshold set (
) contains threshold rules that apply to a group of metrics.metric.threshold.ThresholdSetA threshold rule (
) associates a specific metric with classifications that define the compliance criteria.metric.threshold.ThresholdRuleA classification (
) specifies a compliance category and the condition under which it applies.metric.threshold.Classification
Properties
Object Functions
Examples
Version History
Introduced in R2026b
