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