coder.dictionary.copy
Copy code generation definitions between models and data dictionaries
Description
copy(
copies code generation definitions, such as storage classes, from the Embedded Coder
Dictionary in sourceName
,destinationName
)sourceName
to the Embedded Coder Dictionary in
destinationName
. The source and destination dictionaries must
use the same code interface configuration type.
If a code generation definition in sourceName
has the same name
as a definition in destinationName
, copy
copies the source entry into the destination, and then renames the copy.
To share code definitions between models, use a Simulink® data dictionary, as described in Share Code Interface Configuration Between Models. To copy
individual code definitions, use the Embedded Coder Dictionary dialog box or copyEntry
. For general information about Embedded Coder Dictionaries
and code generation definitions, see Define Service Interfaces, Storage Classes, Memory Sections, and Function Templates for Software Architecture.