getReferencedModelNames
Class: coder.codedescriptor.CodeDescriptor
Namespace: coder.codedescriptor
Return names of referenced models
Syntax
refModels = getReferencedModelNames(codeDescObj)
Description
returns a list of referenced models for a
refModels
= getReferencedModelNames(codeDescObj
)coder.codedescriptor.CodeDescriptor
object. By default, the list
includes only the unprotected models that the CodeDescriptor
object
directly references. For example, if model1
references
model2
and model2
references
model3
, then running getReferencedModelNames
from the model1
CodeDescriptor
object returns only model2
, not
model3
. To retrieve different lists of referenced models, use the
optional IncludeAllLevels and
IncludeProtectedModels parameters.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2018a