coder.descriptor.ServiceInterface - Return service interface information required to generate service

  functions - MATLAB ([original](https://in.mathworks.com/help/ecoder/ref/coder.descriptor.serviceinterface-class.html)) ([raw](?raw))

Main Content

Namespace: coder.descriptor

Return service interface information required to generate service functions

Since R2022b

Description

An object of the coder.descriptor.ServiceInterface class represents the service interface configuration that you define in the Embedded Coder Dictionary. Use ServiceInterface objects to retrieve metadata about a specified service function interface.

Creation

`serviceObj` = getServices([codeDescObj](#mw%5Ff770706a-bec7-4d4c-ac95-2752dafd78e5%5Fsep%5Fmw%5F55a0222f-fdda-4322-b9a3-04d5e167121f)) creates a ServiceInterface object, from the coder.codedescriptor.CodeDescriptor object, codeDescObj.

Input Arguments

expand all

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

Methods

Version History

Introduced in R2022b