Main Content
setClassNamespace
Description
setClassNamespace(
sets the class namespace of the model in the generated code. Control the scope of the
generated code by specifying a namespace for the generated class. In systems that use a
model hierarchy, you can specify a different namespace for each model in the
hierarchy.myCPPMappingObj
, namespace
)
Examples
Input Arguments
Version History
Introduced in R2021a