Main Content


Class: Simulink.CodeImporter
Package: Simulink

Compute interface headers from specified source files


listOfHdr = obj.computeInterfaceHeaders()


listOfHdr = obj.computeInterfaceHeaders(), where obj is an object of class Simulink.CodeImporter, computes the interface header information for the custom code specified in the CustomCode of obj.

Output Arguments

expand all

List of interface header files computed from specified custom code, returned as a string array. This value can be used to populate the InterfaceHeader property of the CustomCode property of obj.

Version History

Introduced in R2021b