coder.dictionary.create
Create Embedded Coder Dictionary and coder.Dictionary
object
Syntax
Description
creates an Embedded Coder® Dictionary in the model or Simulink® data dictionary identified by coderDict
= coder.dictionary.create(sourceName
)sourceName
. The function
returns a coder.Dictionary
object that
represents the new Embedded Coder Dictionary. The Embedded Coder Dictionary uses the data interface configuration type.
When the source model or data dictionary already has an Embedded Coder Dictionary, use coder.dictionary.open
to access the coder.Dictionary
object. An Embedded Coder Dictionary is created when you open a model in the Embedded Coder app or when you open the Embedded Coder Dictionary dialog box for a model or a data dictionary.
creates an Embedded Coder Dictionary that uses the specified code interface type. You can create an
Embedded Coder Dictionary that uses either the data interface configuration or service
interface configuration by using this syntax. (since R2023b)coderDict
= coder.dictionary.create(sourceName
,interfaceType
)