coder.descriptor.ServiceInterface.getServiceDataCommMethod - Return data communication method for service function - MATLAB (original) (raw)
Main Content
Class: coder.descriptor.ServiceInterface
Namespace: coder.descriptor
Return data communication method for service function
Since R2022b
Syntax
dataCommMethod = getServiceDataCommMethod(serviceObj,serviceFunctionName)
Description
[dataCommMethod](#mw%5Fd61aca4a-d018-4ad3-95e9-941a11ab32be) = getServiceDataCommMethod([serviceObj](#mw%5Faf5d56bf-3e4f-4871-b867-177eb02a069b%5Fsep%5Fmw%5F73f4d856-397b-4a25-af0d-72bcd37e02c5),[serviceFunctionName](#mw%5Faf5d56bf-3e4f-4871-b867-177eb02a069b%5Fsep%5Fmw%5Fe26177ce-2107-4a1e-9787-aa1e51019ba5))
returns the data communication method for the service function as configured in the Embedded Coder Dictionary. The result is an enumerated value of typeDataCommunicationMethodEnum
.
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 function name, specified as character vector or string scalar.
Output Arguments
Data communication method for the service function as configured in Embedded Coder Dictionary, returned as an enumerated value of typeDataCommunicationMethodEnum
.
Version History
Introduced in R2022b