findConstructor
R2026bDescription
finds a constructor in the class that matches the specified name with the specified input
type list and returns a ctorDef = findConstructor(classDef,CPPInputTypeNames=typeNames)clibgen.api.ConstructorDefinition object for the matching constructor. If the
function does not find a match, it returns an empty ConstructorDefinition
object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b