Main Content

getServices

Class: coder.codedescriptor.CodeDescriptor
Package: coder.codedescriptor

Return service interface object

Syntax

serviceObj = getServices(codeDescObj)

Description

serviceObj = getServices(codeDescObj) returns the service interface specified as a coder.descriptor.ServiceInterface object. Use the coder.descriptor.ServiceInterface object to call associated methods that retrieve metadata about a specified service function.

Input Arguments

expand all

Code descriptor for which you want to retrieve the information about generated code, specified as a coder.codedescriptor.CodeDescriptor object.

Output Arguments

expand all

Service interface, also referred to as the code configuration object, for which you want to retrieve the information about generated code, specified as a coder.descriptor.ServiceInterface object.

Version History

Introduced in R2022b