Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

복합 구성요소

여러 구성요소를 연결하여 사용자 지정 구성요소 생성

복합 구성요소는 여러 다른 구성요소로 생성됩니다. 복합 구성요소를 만들려면 멤버(구성원) 구성요소의 이름을 나열하고, 그런 다음 멤버 구성요소의 포트가 서로 연결되고 복합 구성요소의 외부 포트에 연결되는 방법을 지정해야 합니다. 또한 복합 구성요소의 블록 대화 상자에 표시할(따라서 조정 가능하게 할) 멤버 구성요소의 파라미터를 지정할 수 있습니다.

언어 구문

componentsDeclare member components included in composite component
connectConnect two or more component ports of the same type
connectionsDefine connections for member component ports in composite component
importImport model classes

함수

subsystem2sscConvert subsystem containing Simscape blocks into equivalent Simscape file or files

도움말 항목

복합 구성요소를 만들기 위한 기본 기법

구성요소 변형

구성요소 배열

  • Component Arrays
    Use parametric-sized arrays of member components in composite components.
  • Segmented Pipeline Using Component Array
    This example shows how you can model a segmented pipeline using an array of identical pipe segments, connected in series. The size of the array corresponds to the number of segments, and the block user can modify this parameter.
  • Case Study — Battery Pack with Fault Using Arrays
    This case study shows how you can use component arrays to model a battery pack consisting of multiple series-connected cells. It also shows how you can introduce a fault into one of the cells to see the impact on battery performance and cell temperatures. The block user can modify both the number of cells and the position of the faulted cell as block parameters.
  • Arrays of Nodes
    Use parametric-sized arrays of nodes to specify element-wise connections between arrays of components.