Main Content

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

addCloneToIgnoreList

클래스: Simulink.CloneDetection.ReplacementConfig
네임스페이스: Simulink.CloneDetection

클론 교체 무시 목록에 하위 시스템 추가

구문

addCloneToIgnoreList(cloneReplacementConfig,subsystemName)

설명

addCloneToIgnoreList(cloneReplacementConfig,subsystemName)은 지정된 하위 시스템 이름을 cloneReplacementConfig 객체와 연결된 복제 교체 무시 목록에 추가합니다.

입력 인수

모두 확장

복제본을 대체하기 위한 설정으로, Simulink.CloneDetection.ReplacementConfig 객체로 지정됩니다.

서브시스템의 이름으로, 문자형 벡터로 지정됩니다.

예제

모두 확장

Simulink.CloneDetection.ReplacementConfig 객체를 생성합니다.

cloneReplacementConfig = Simulink.CloneDetection.ReplacementConfig();

무시된 클론 목록에 하위 시스템을 추가합니다.

addCloneToIgnoreList(cloneReplacementConfig,'ex_detect_clones_E/Subsystem1')
ans = 

  ReplacementConfig with properties:

    LibraryNameToAddSubsystemsTo: 'newLibraryFile'
                   IgnoredClones: {'ex_detect_clones_E/Subsystem1'}
     SubsystemReferenceFileNames: []

하위 시스템은 Simulink.CloneDetection.ReplacementConfig 개체의 IgnoredClones 속성에 나열됩니다.