Main Content

이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.

getMetricMetaInformation

클래스: slmetric.Engine
네임스페이스: slmetric

(삭제 예정) 메트릭 메타 정보 얻기

Metrics Dashboard 사용자 인터페이스, metricdashboard 기능, slmetric 패키지 API 및 해당 사용자 정의는 향후 릴리스에서 제거될 예정입니다. 자세한 내용은 Migrating from Metrics Dashboard to Model Maintainability Dashboard을 참조하세요.

구문

metaInfo = getMetricMetaInformation(metric_engine,metricID)

설명

metaInfo = getMetricMetaInformation(metric_engine,metricID)metricID에 해당하는 slmetric.metric.MetaInformation 객체를 반환합니다.

입력 인수

모두 확장

slmetric.Engine 객체로 지정되는 메트릭 엔진입니다.

메트릭 식별자로, 문자형 벡터 또는 string형 스칼라로 지정됩니다. 메트릭 엔진 개체에 대해 slmetric.metric.getAvailableMetrics을 호출하여 사용 가능한 메트릭 식별자를 얻을 수 있습니다.

데이터형: char | string

출력 인수

모두 확장

지표에 대한 메타 정보로, slmetric.metric.MetaInformation 객체로 반환됩니다.

자세한 내용은 slmetric.metric.MetaInformation을 참조하세요.

예제

모두 확장

높은 무결성 검사 준수 지표에 대한 메타 정보를 얻습니다. 이 메트릭의 메트릭 ID는 mathworks.metrics.ModelAdvisorCheckCompliance.hisl_do178입니다.

slmetric.Engine 객체를 생성합니다.

metric_engine = slmetric.Engine();

메타 정보를 얻으려면 getMetricMetaInformation 방법을 사용하십시오.

metaInfo = getMetricMetaInformation(metric_engine,...
'mathworks.metrics.ModelAdvisorCheckCompliance.hisl_do178')

높은 무결성 검사 규정 준수 지표에는 다음과 같은 메타 정보가 포함됩니다.

metaInfo = 

  MetaInformation with properties:

                       Name: 'Model Advisor standards check compliance for High Integrity'
                Description: 'Metric that counts the percentage of checks that passed for the High Integrity Model Advisor standards check grouping.'
              MeasuresNames: {2×1 cell}
    AggregatedMeasuresNames: {2×1 cell}
                  ValueName: 'Checks Passed'
        AggregatedValueName: 'Checks Passed (incl. Descendants)'

버전 내역

R2018b에 개발됨

모두 축소

R2022a: Metrics Dashboard이 제거됩니다

Metrics Dashboard 사용자 인터페이스, metricdashboard 기능, slmetric 패키지 API 및 해당 사용자 정의는 향후 릴리스에서 제거될 예정입니다. 자세한 내용은 Migrating from Metrics Dashboard to Model Maintainability Dashboard을 참조하세요.