Main Content

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

Simulink.ModelTransform.CommonSourceInterpolation.Results 클래스

네임스페이스: Simulink.ModelTransform.CommonSourceInterpolation

Prelookup 블록을 사용한 적격 보간 검색 결과

R2021b 이후

설명

Simulink.ModelTransform.CommonSourceInterpolation.Results 클래스의 개체를 사용하여 사전 조회를 사용한 적합한 보간 블록에 대한 검색에서 식별된 결과를 분석합니다.

생성

설명

Simulink.ModelTransform.CommonSourceInterpolation.identifyCandidates 함수는 실행 시 Simulink.ModelTransform.CommonSourceInterpolation.Results 클래스의 객체를 생성합니다. 이 개체를 Simulink.ModelTransform.CommonSourceInterpolation.refactorModel 함수의 입력 인수로 사용할 수 있습니다.

참고

모델 리팩토링 오류를 방지하려면 Simulink.ModelTransform.CommonSourceInterpolation.Results 객체의 속성을 변경하지 마세요.

속성

모두 확장

구조로 지정된 Prelookup 블록과 Multiport Switch 블록을 사용하여 식별된 보간.

BlockPort 숫자, 구조로 반환됩니다.

식별된 블록 이름 목록으로, 문자 배열로 지정됩니다.

식별된 블록의 포트 번호 목록으로, uint32 정수로 지정됩니다.

BlockPort 숫자, 구조로 반환됩니다.

식별된 블록 이름 목록으로, 문자 배열로 지정됩니다.

식별된 블록의 포트 번호 목록으로, uint32 정수로 지정됩니다.

예제

모두 축소

이 예에서는 사전 조회 블록을 사용하여 적합한 보간 검색 결과를 분석하는 방법을 보여줍니다.

ex_interpolation_optimize 모델을 엽니다.

openExample('ex_interpolation_optimize')
transformResults = Simulink.ModelTransform.CommonSourceInterpolation.identifyCandidates(ex_interpolation_optimize)
transformResults =

  Results with properties:

    Candidates: [1×1 struct]
 transformResults.Candidates
  struct with fields:

        InterpolationPorts: [4×1 struct]
               SwitchPorts: [4×1 struct]

이 함수는 transformResults라는 변수에 정보를 저장합니다.

버전 내역

R2021b에 개발됨