주요 콘텐츠

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

아키텍처 모델 작성

컴포넌트, 포트, 인터페이스를 사용하여 아키텍처를 표현합니다.

시스템의 물리적, 기능적, 논리적 아키텍처를 모델링합니다. 컴포넌트, 포트, 연결을 사용하여 시각적으로 표현합니다. 컴포넌트는 시스템 설계에 사용되는 아키텍처 시스템이나 서브시스템을 나타냅니다. 컴포넌트를 분해하여 세부 정보를 추가하고 계층적 관계를 정의할 수 있으며, 거동 모델 전반에서 컴포넌트를 재사용하고 참조할 수 있습니다. 컴포넌트 전체에서 아키텍처 설계를 재사용하기 위해 아키텍처 모델 및 서브시스템 참조로 변환합니다. 프로그래밍 규칙에 따라 선택된 여러 가지 디자인 대안이나 Variant를 구현하여 Variant 컴포넌트를 만듭니다.

Interface Editor를 사용하여 데이터 인터페이스, 물리적 인터페이스, 값 유형이 있는 컴포넌트 간의 정보 교환을 지정합니다. 데이터 인터페이스는 포트에 포함되어 컴포넌트 간에 교환되는 데이터의 유형, 크기, 단위 및 구조를 정의합니다. 모델과 함께 저장되는 로컬 인터페이스를 정의할 수도 있고, 여러 모델에서 사용할 데이터 사전에 인터페이스를 정의할 수도 있습니다.

Parameter Editor를 사용하여 컴포넌트와 아키텍처의 아키텍처 설계를 위한 내재적 또는 운영적 파라미터를 추가하고 편집합니다. 모델에 포함된 컴포넌트의 파라미터를 최상위 아키텍처로 승격시킵니다.

작성자는 System Composer™를 편집 시 확인하거나 sl_refresh_customizations를 사용하여 사용자 지정을 정의합니다.

블록

ComponentAdd components to architecture model
Reference ComponentLink to architectural definition or Simulink behavior
AdapterConnect components with different interfaces

클래스

모두 확장

systemcomposer.arch.ElementAll model elements
systemcomposer.arch.ArchitectureArchitecture in model
systemcomposer.arch.ModelSystem Composer model
systemcomposer.arch.BaseComponentAll components in architecture model
systemcomposer.arch.ComponentSystem Composer component
systemcomposer.arch.BasePortAll ports in architecture model
systemcomposer.arch.ArchitecturePortArchitecture port
systemcomposer.arch.ComponentPortComponent port
systemcomposer.arch.BaseConnectorAll connectors in architecture model (R2021b 이후)
systemcomposer.arch.ConnectorConnector between ports
systemcomposer.arch.PhysicalConnectorConnector between physical ports (R2021b 이후)
systemcomposer.arch.ParameterParameter in System Composer (R2022b 이후)
systemcomposer.ValueTypeValue type in System Composer (R2021b 이후)
systemcomposer.interface.DataInterfaceData interface (R2021b 이후)
systemcomposer.interface.DataElementData element in data interface (R2021b 이후)
systemcomposer.interface.PhysicalDomainPhysical domain in System Composer (R2021b 이후)
systemcomposer.interface.PhysicalInterfacePhysical interface (R2021b 이후)
systemcomposer.interface.PhysicalElementPhysical element in physical interface (R2021b 이후)
systemcomposer.interface.DictionaryArchitectural data of data dictionary of architecture model

함수

모두 확장

모델 관리

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 (R2021b 이후)
createArchitectureSubsystemCreate architecture subsystem from component (R2023a 이후)
linkToModelLink component to model
inlineComponentRemove reference architecture or behavior from component
systemcomposer.extractArchitectureFromSimulinkExtract architecture from Simulink model
systemcomposer.exportToAUTOSARArchitectureExport current model to new AUTOSAR architecture model (R2023b 이후)
systemcomposer.exportToSoftwareArchitectureExport current model to new software architecture model (R2023b 이후)
systemcomposer.exportToVersionExport architecture model and dependencies to previous release of System Composer

모형 제작

addComponentAdd components to architecture
addPortAdd ports to architecture
getPortGet port from component
setNameSet name for port
connectCreate architecture model connections
smartConnectAuto-connect select components in model using port names or custom policy (R2025a 이후)
getUnconnectedPortsGet unconnected ports (R2025a 이후)
getSmartConnectPolicyGet smart connect policy (R2025a 이후)
setSmartConnectPolicySet smart connect policy (R2025a 이후)
lookupSearch for architectural element
IsAdapterComponentDetermine component is adapter
getQualifiedNameGet model element qualified name
setMaskImageApply mask image to component (R2023b 이후)
destroyRemove model element

파라미터 관리

addParameterAdd parameter to architecture (R2022b 이후)
getParameterGet parameter from architecture or component (R2022b 이후)
getParameterPromotedFromGet source parameter promoted from (R2022b 이후)
resetToDefaultResets parameter value to default (R2022b 이후)
getEvaluatedParameterValueGet evaluated value of parameter from element (R2022a 이후)
getParameterNamesGet parameter names on element (R2022a 이후)
getParameterValueGet value of parameter (R2022a 이후)
setParameterValueSet value of parameter (R2022a 이후)
setUnitSet units on parameter value (R2022a 이후)
resetParameterToDefaultReset parameter on component to default value (R2022a 이후)

값 유형 관리

addValueTypeCreate named value type in data dictionary (R2021b 이후)
createInterfaceCreate and set owned interface for port (R2021b 이후)
setNameSet name for value type, function argument, interface, or element
setDataTypeSet data type for value type (R2021b 이후)
setDimensionsSet dimensions for value type (R2021b 이후)
setUnitsSet units for value type (R2021b 이후)
setComplexitySet complexity for value type (R2021b 이후)
setMinimumSet minimum for value type (R2021b 이후)
setMaximumSet maximum for value type (R2021b 이후)
setDescriptionSet description for value type or interface (R2021b 이후)

인터페이스 관리

addInterfaceCreate named data interface in data dictionary
moveInterfaceMove interface to another data dictionary (R2023b 이후)
addPhysicalInterfaceCreate named physical interface in data dictionary (R2021b 이후)
removeInterfaceRemove named interface from interface dictionary
createInterfaceCreate and set owned interface for port (R2021b 이후)
setNameSet name for value type, function argument, interface, or element
setInterfaceSet interface for port
getInterfaceGet object for named interface in dictionary
getInterfaceNamesGet names of all interfaces in dictionary
systemcomposer.getSelectedInterfacesGet selected interfaces in Interface Editor (R2024a 이후)

요소 관리

addElementAdd element
removeElementRemove element
getElementGet object for element
setNameSet name for value type, function argument, interface, or element
setTypeSet shared type on data element or function argument (R2021b 이후)
createOwnedTypeCreate owned value type on data element or function argument (R2021b 이후)
getSourceElementGets data elements selected on source port for connection
getDestinationElementGets data elements selected on destination port for connection

사전 관리

systemcomposer.createDictionaryCreate data dictionary
systemcomposer.openDictionaryOpen data dictionary
saveToDictionarySave interfaces to dictionary
isOpenDetermine whether dictionary is open (R2024a 이후)
getFileNameGet absolute filename for dictionary (R2024a 이후)
linkDictionaryLink data dictionary to architecture model
unlinkDictionaryRemove linked data dictionary from architecture model
addReferenceAdd reference to dictionary (R2021a 이후)
removeReferenceRemove reference to dictionary (R2021a 이후)
makeOwnedInterfaceSharedConvert owned interface to shared interface (R2022a 이후)

Interface EditorCreate and author interfaces in local and shared data dictionaries
Parameter EditorAdd, edit, and promote parameters for architectures and components (R2022b 이후)

도움말 항목

추천 예제