Simulink.CodeImporter Class
Namespace: Simulink
Description
Use the Simulink.CodeImporter class to import custom C/C++ code into
Simulink® for modeling, verification, and validation. Instances of this class are used to
specify custom code to import into Simulink.
The Simulink.CodeImporter class is a handle class.
Creation
Description
obj = Simulink.CodeImporter() creates an instance of the
CodeImporter with the LibraryFileName property set
to "untitled".
obj = Simulink.CodeImporter(,
where ModelName)ModelName is the name of the Simulink library or model chosen by the user and specified as a string or character
vector, creates an instance of the CodeImporter with the
LibraryFileName property set to
ModelName.
Properties
Methods
Examples
Version History
Introduced in R2021a