What is a 'Code Dictionary'?

조회 수: 6 (최근 30일)
Jonas
Jonas 2020년 6월 16일
댓글: Jonas 2020년 6월 16일
Hi all
I want to add a reference of a data dictionary to another data dictionary, but I am getting the following error:
I have never heard of a 'Code dictionary' and cannot seem to find any documentation online. What does this error mean? I was thinking it may direct to the 'Embedded Code Dictionary' but I cannot figure it out.
Thanks for the help!
With kind regards,
Jonas

채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 6월 16일
편집: Fangjun Jiang 2020년 6월 16일
For R2019a, here is the document reference
web(fullfile(docroot, 'ecoder/ref/embeddedcoderdictionary.html'))
Or Embedded Coder Dictionary on the web for R2020a
  댓글 수: 1
Jonas
Jonas 2020년 6월 16일
I have found mentioning of this error in the documentation:
Opening Code Perspective Generates Error
In a hierarchy of referenced data dictionaries (see Dictionary Referencing (Simulink)), only one dictionary can store code generation definitions in an Embedded Coder Dictionary. When you open the Code perspective in a model that has access to multiple Embedded Coder Dictionaries through referenced data dictionaries, Simulink generates an error. To resolve the error, use coder.dictionary.move and coder.dictionary.remove to transfer and delete Embedded Coder Dictionaries until only one exists in the dictionary hierarchy. If necessary, store the Embedded Coder Dictionary in a standalone, shared data dictionary as described in Share Embedded Coder Dictionary Definition Between Models.
I will try the commands to remove the dictionaries. Honestly it is quite a lackluster way of working and poorly documented.
Many thanks!

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by