Embedded Coder Dictionary

조회 수: 1 (최근 30일)
성욱
성욱 2023년 5월 2일
댓글: Song-Hyun Ji 2023년 5월 11일
has a C mapping but has no Embedded Coder Dictionary.
Suggested Actions:
• Create an Embedded Coder Dictionary in model
코드 제너레이션 과정을 거친 후 위의 메세지가 뜹니다.
임베디드 코더 사전이 무엇인지 모르겠으나 해당 기능을 사용하지 않는 것으로 알고 있는데
해당 오류를 없애려면 위에서 제안한 대로 새로 생성을 하지 않고 해소할 수 있는 방법은 없을까요?

답변 (1개)

Song-Hyun Ji
Song-Hyun Ji 2023년 5월 4일
어떠한 이유에서인지 모르겠지만 모델 내, Embedded Coder Dictionary 가 삭제되었습니다. coder.dictionary.create(modelName) 으로 디폴트 Embedded Coder Dictionary를 새로 생성해야 오류 해결이 가능합니다.
  댓글 수: 2
성욱
성욱 2023년 5월 8일
coder.dictionary.create(modelName)의 의미가 이해가 안됩니다. 더 자세한 설명 부탁드립니다.
(coder라는 건 도구창의 앱에서 Embedded Coder를 말씀하시는 건가요?)
Song-Hyun Ji
Song-Hyun Ji 2023년 5월 11일
coder.dictionary.create 는 아래의 매뉴얼에서와 같이 자체로 함수 사용입니다.
https://www.mathworks.com/help/ecoder/ref/coder.dictionary.create.html
해당 함수의 사용예시를 아래와 같이 알려드립니다.
데모 모델 중 'rtwdemo_atomic' 이 있습니다. 매트랩 명령창에서 모델 이름을 타이핑하고 실행하면 해당 모델이 띄워집니다. 이후 아래와 같이 실행합니다.
>> rtwdemo_atomic
>> coder.dictionary.create('rtwdemo_atomic')
ans =
Dictionary with Sections:
StorageClasses: [1×1 coder.dictionary.Section]
MemorySections: [1×1 coder.dictionary.Section]
FunctionCustomizationTemplates: [1×1 coder.dictionary.Section]
>>
보다 정확한 원인 조사 및 도움이 필요하시면, 매트랩 상단 Home 툴스트립의 Request Support 버튼을 통하여 요청하여 주시기 바랍니다.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!