Embedded Coder Dictionary

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

Réponses (1)

Song-Hyun Ji
Song-Hyun Ji le 4 Mai 2023
어떠한 이유에서인지 모르겠지만 모델 내, Embedded Coder Dictionary 가 삭제되었습니다. coder.dictionary.create(modelName) 으로 디폴트 Embedded Coder Dictionary를 새로 생성해야 오류 해결이 가능합니다.
  2 commentaires
성욱
성욱 le 8 Mai 2023
coder.dictionary.create(modelName)의 의미가 이해가 안됩니다. 더 자세한 설명 부탁드립니다.
(coder라는 건 도구창의 앱에서 Embedded Coder를 말씀하시는 건가요?)
Song-Hyun Ji
Song-Hyun Ji le 11 Mai 2023
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 버튼을 통하여 요청하여 주시기 바랍니다.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!