Main Content


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

Returns service functions called from entry-point function

Since R2022b


serviceFunctions = getCalledServiceFunctions(serviceObj,entryPointFunctionName)


serviceFunctions = getCalledServiceFunctions(serviceObj,entryPointFunctionName) returns a list of service functions that the specified entry-point function, entryPointFunctionName, calls. The method returns the results as an array of strings that represent the coder.descriptor.ServiceFunctions object.

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 a coder.descriptor.ServiceInterface object.

Entry-point function for which you want to retrieve service function calls, specified as a character vector or string scalar.

Output Arguments

expand all

List of called service functions from the specified entry-point function, entryPointFunctionName, returned as a coder.descriptor.ServiceFunctions object that contains properties that represent these types of service functions:

  • ReceiverFunctions

  • SenderFunctions

  • DataTransferFunctions

  • TimerFunctions

Version History

Introduced in R2022b