Main Content

getServicesHeaderFileName

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

Return name of header file that contains service function declarations

Since R2022b

Syntax

serviceHeaderFile = getServicesHeaderFileName(serviceObj)

Description

serviceHeaderFile = getServicesHeaderFileName(serviceObj) returns the file name that is used by the code generator to write service function declarations for the service interface serviceObj.

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.

Output Arguments

expand all

Service header file name that contains the service function declarations, returned as character vector or string scalar.

Version History

Introduced in R2022b