Main Content
setDeploymentType
Description
setDeploymentType(
sets the deployment type of the model specified by code mappings object
coderMapObj
, depType
)coderMapObj
to the type specified by depType
.
The deployment type controls the code interfaces at different levels of a model hierarchy.
The code generator uses the deployment type to:
Enforce peer and nesting rules in the model hierarchy.
Map model elements to code interface definitions.
Generate code that uses the appropriate interface to connect to other parts of the hierarchy.
Examples
Input Arguments
Version History
Introduced in R2022a