coder.descriptor.ServiceInterface.getServiceInterface - Return service interface object for service interface type - MATLAB (original) (raw)

Main Content

Class: coder.descriptor.ServiceInterface
Namespace: coder.descriptor

Return service interface object for service interface type

Since R2022b

Syntax

serviceInterfaceTypeObj = getServiceInterface(serviceObj,serviceInterfaceType)

Input 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 acoder.descriptor.ServiceInterface object.

Service interface type defined in Embedded Coder Dictionary, specified as an enumerated value ofcoder.descriptor.Services. Specify the value as one of the following enumeration variants:

Output Arguments

expand all

Service interface object associated with the type of service interface with corresponding properties, returned as:

To return a service interface object for the parameter argument tuning service interface type, pass coder.descriptor.Services.ParameterTuning togetServiceInterface, and then pass the output togetParameterArgumentInterfaces.

Version History

Introduced in R2022b