getTypeCounts
R2026bDescription
returns a counts = getTypeCounts(coll)containers.Map object. The object keys are
the fully qualified class names of the elements in coll, and its
values are the number of elements of each class. getTypeCounts(coll)
returns the same value as the TypeCounts property of
coll.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2026b
See Also
Objects
systemcomposer.sysml.Repository|systemcomposer.sysml.Project|systemcomposer.sysml.Workspace|sysml.Collection|sysml.Element
Functions
connect|getProjects|getProjectById|createWorkspace|getElements|getRootElements|getElementRelationships|getElement|getElementsByTypeAndName|executeQuery|getMembershipHierarchy|getOwnershipHierarchy|getAncestors|getDescendants|getUsages|filterByType|findByType|getObjectTypes|toCell|get|meta|systemcomposer.sysml.exportFromMLProject