주요 콘텐츠

아키텍처 및 아티팩트 정리 및 공유

R2026b
프로젝트에서 대규모 아키텍처 모델을 생성하고, 소스 컨트롤과 연동하며, 차이점을 비교하고 병합합니다.

System Composer™에서 Simulink® 프로젝트를 사용하여 대규모 아키텍처 모델링 프로젝트를 체계적으로 관리합니다. 프로젝트를 활용하면 필요한 파일을 찾고, 파일과 설정을 관리 및 공유하며, 소스 컨트롤과 연동할 수 있습니다. 아키텍처 모델과 데이터 딕셔너리, 요구사항, 할당 정보, 프로파일, 동작 모델, 테스트 파일, 스크립트 등의 관련 아티팩트를 프로젝트에 저장합니다. System Composer 비교 툴 및 System Composer 3방향 병합 툴을 사용하여 System Composer 아키텍처 모델을 비교하고, 변경 사항을 검토, 병합 및 저장할 수 있습니다.

프로젝트를 처음 사용하는 경우, MATLAB® 문서의 프로젝트 항목을 참고하십시오. Simulink에 대한 구체적인 지침은 What Are MATLAB Projects in Simulink? 및 Simulink에서 MATLAB 프로젝트 사용하기 항목을 참조하십시오.

System Composer를 통해 SysML® v2를 준수하는 원격 리포지토리에 프로그래밍 방식으로 액세스할 수 있습니다. SysML v2 리포지토리 API는 원격 리포지토리에서 반환된 SysML v2 요소에 대한 클래스 기반 내부 검사를 포함합니다. 이 API에는 SysML v2 메타 모델을 그대로 반영한 MATLAB 클래스 계층 구조가 포함되어 있어, 대화형 방식 탐색과 유형 기반 로직을 지원합니다. 이제 isa, class, properties 같은 메타 프로그래밍 함수를 사용하여 SysML v2 요소 유형을 검사하고, 사용 가능한 속성을 MATLAB에서 직접 검색할 수 있습니다. 또한 MATLAB 프로젝트를 systemcomposer.sysml.exportFromMLProject를 사용하여 SysML v2 텍스트 파일로 내보낼 수도 있습니다.

클래스

모두 확장

systemcomposer.arch.ArchitectureArchitecture in model
systemcomposer.arch.ModelSystem Composer model
systemcomposer.interface.DictionaryArchitectural data of data dictionary of architecture model
systemcomposer.sysml.RepositoryInterface to access projects in SysML v2 repository (R2026a 이후)
systemcomposer.sysml.ProjectInterface to access contents of SysML v2 project (R2026a 이후)
systemcomposer.sysml.WorkspaceCache for SysML v2 project snapshot when workspace is created (R2026a 이후)
sysml.ElementSingle SysML v2 project element or relationship (R2026a 이후)

함수

모두 확장

openProject기존 프로젝트 불러오기
matlab.project.createProjectCreate blank project
matlab.project.deleteProjectStop folder management and delete project definition files
matlab.project.rootProjectGet root project
addFileAdd files or folders to project
connectConnect to repository server by URL (R2026a 이후)
getProjectsGet all projects in SysML v2 repository (R2026a 이후)
getProjectByIdGet project by ID in SysML v2 repository (R2026a 이후)
createWorkspaceCreate SysML v2 workspace (R2026a 이후)
getElementsGet all elements in SysML v2 workspace (R2026a 이후)
getRootElementsGet root elements in SysML v2 workspace (R2026a 이후)
getElementRelationshipsGet relationship elements (R2026a 이후)
getElementGet element with provided ID (R2026a 이후)
getElementsByTypeAndNameGet elements by type and name (R2026a 이후)
executeQueryExecute query (R2026a 이후)
getMembershipHierarchyGet elements in membership hierarchy of element (R2026a 이후)
getOwnershipHierarchyGet elements in ownership hierarchy of element (R2026a 이후)
getAncestorsGet SysML v2 ancestors (R2026a 이후)
getDescendantsGet SysML v2 descendants (R2026a 이후)
getUsagesGet SysML v2 usages (R2026a 이후)
getGet element property (R2026a 이후)
metaGet element meta-class (R2026a 이후)
systemcomposer.sysml.exportFromMLProjectExport project to SysML v2 textual file (R2026a 이후)
systemcomposer.createModelCreate System Composer model
systemcomposer.loadModelLoad System Composer model
systemcomposer.openModelOpen System Composer model
openOpen architecture model
saveSave architecture model or data dictionary
closeClose architecture model
createArchitectureModelCreate architecture model from component
createArchitectureSubsystemCreate architecture subsystem from component (R2023a 이후)
linkToModelLink component to model
inlineComponentRemove reference architecture or behavior from component
systemcomposer.exportToVersionExport architecture model and dependencies to previous release of System Composer
systemcomposer.createDictionaryCreate data dictionary
systemcomposer.openDictionaryOpen data dictionary
saveToDictionarySave interfaces to dictionary
linkDictionaryLink data dictionary to architecture model
unlinkDictionaryRemove linked data dictionary from architecture model
moveInterfaceMove interface to another data dictionary (R2023b 이후)
addReferenceAdd reference to dictionary
removeReferenceRemove reference to dictionary
makeOwnedInterfaceSharedConvert owned interface to shared interface (R2022a 이후)

툴

인터페이스 편집기로컬 및 공유 데이터 딕셔너리에 인터페이스 생성 및 작성
프로파일 편집기Create and manage profiles with stereotypes and properties
System Composer 비교 툴Diff and merge changes between System Composer architecture models (R2022a 이후)
System Composer 3방향 병합 툴Resolve conflicts in System Composer architecture models (R2023b 이후)

도움말 항목

추천 예제