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
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:
coder.descriptor.Services.SenderReceiver
coder.descriptor.Services.DataTransfer
coder.descriptor.Services.Timer
coder.descriptor.Services.Measurement
coder.descriptor.Services.ParameterTuning
Output Arguments
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