coder.codedescriptor.CodeDescriptor.getServices - Return service interface object - MATLAB (original) (raw)
Main Content
Class: coder.codedescriptor.CodeDescriptor
Namespace: coder.codedescriptor
Return service interface object
Since R2022b
Syntax
serviceObj = getServices(codeDescObj)
Description
[serviceObj](#mw%5F3ee3e0b5-0b76-41a1-9001-4b3031da1d95%5Fsep%5Fmw%5F73f4d856-397b-4a25-af0d-72bcd37e02c5) = getServices([codeDescObj](#mw%5F3ee3e0b5-0b76-41a1-9001-4b3031da1d95%5Fsep%5Fmw%5F55a0222f-fdda-4322-b9a3-04d5e167121f))
returns the service interface specified as a coder.descriptor.ServiceInterface object. Use thecoder.descriptor.ServiceInterface
object to call associated methods that retrieve metadata about a specified service function.
Input Arguments
Code descriptor for which you want to retrieve the information about generated code, specified as a coder.codedescriptor.CodeDescriptor
object.
Output Arguments
Service interface, also referred to as the code configuration object, for which you want to retrieve the information about generated code, specified as acoder.descriptor.ServiceInterface
object.
Version History
Introduced in R2022b