What is a 'Code Dictionary'?

10 visualizaciones (últimos 30 días)
Jonas
Jonas el 16 de Jun. de 2020
Comentada: Jonas el 16 de Jun. de 2020
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

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 16 de Jun. de 2020
Editada: Fangjun Jiang el 16 de Jun. de 2020
For R2019a, here is the document reference
web(fullfile(docroot, 'ecoder/ref/embeddedcoderdictionary.html'))
Or Embedded Coder Dictionary on the web for R2020a
  1 comentario
Jonas
Jonas el 16 de Jun. de 2020
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!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by