주요 콘텐츠

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

coder.dictionary.Section 클래스

R2026b

네임스페이스: coder.dictionary

Embedded Coder 사전 섹션 구성

설명

coder.dictionary.Section 클래스의 객체는 스토리지 클래스나 데이터 송신 서비스(Data Sender Services)와 같은 Embedded Coder 사전의 한 섹션을 나타냅니다. 이 객체를 사용하면 항목 추가나 삭제와 같은 섹션에 대한 작업을 수행할 수 있습니다.

coder.Dictionary 객체에는 Embedded Coder 사전의 범주를 나타내는 coder.dictionary.Section 객체들이 포함되어 있습니다. coder.dictionary.Section 객체에는 coder.dictionary.Entry 객체들이 포함되어 있으며, 이 객체들은 Embedded Coder 사전의 해당 섹션에 저장된 정의를 나타냅니다. 해당 섹션의 이름은 그 섹션에 포함된 코드 정의의 유형을 나타냅니다. Embedded Coder 사전의 각 섹션에 액세스하려면 coder.Dictionary 객체를 사용하십시오. 해당 섹션 내의 사전 항목에 액세스하려면 coder.dictionary.Section 객체를 사용하십시오.

생성

getSection 함수는 coder.dictionary.Section 객체를 생성합니다.

속성

모두 확장

읽기 전용 속성입니다.

Embedded Coder® 사전 섹션의 이름으로, 문자형 벡터로 저장됩니다. 이 속성은 읽기 전용입니다. 사전의 섹션은 사전의 코드 인터페이스 구성 유형에 따라 달라집니다.

서비스 인터페이스 구성에는 다음 섹션들이 포함됩니다:

  • 'InitTermFunctions'

  • 'PeriodicAperiodicFunctions'

  • 'DataReceiverInterfaces'

  • 'DataSenderInterfaces'

  • 'DataTransferInterfaces'

  • 'TimerInterfaces'

  • 'ParameterTuningInterfaces'

  • 'ParameterArgumentTuningInterfaces'

  • 'MeasurementInterfaces'

  • 'SubcomponentInitTermFunctions'

  • 'SubcomponentPeriodicAperiodicFunctions'

  • 'SharedUtilityFunctions'

  • 'InternalData'

  • 'Constants'

  • 'StorageClasses'

  • 'DataMemorySections'

  • 'FunctionMemorySections'

데이터 인터페이스 구성에는 다음 섹션들이 포함됩니다:

  • 'StorageClasses'

  • 'MemorySections'

  • 'FunctionCustomizationTemplates'

메서드

모두 확장

예제

모두 축소

RollAxisAutopilot 모델을 열고, coder.Dictionary 객체 coderDictionary를 사용하여 Embedded Coder 사전(Dictionary)을 표현하십시오.

openExample("RollAxisAutopilot")
coderDictionary = coder.dictionary.open("RollAxisAutopilot");

Embedded Coder 사전의 ‘Memory Sections’ 섹션을 나타내는 coder.dictionary.Section 객체를 생성합니다.

memorySectionsSect = getSection(coderDictionary, "MemorySections")
memorySectionsSect = 

  Section with properties:

    Name: 'MemorySections'

이 섹션에는 coder.dictionary.Entry 객체들이 포함되어 있으며, 각 객체는 내장 메모리 섹션 정의를 나타냅니다.

버전 내역

R2019b에 개발됨

모두 확장