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
LibName
)LibName
is a file name chosen by the user and specified as a string
or character vector, creates an instance of the CodeImporter
with the
LibraryFileName
property set to LibName
.
Properties
Methods
Examples
Version History
Introduced in R2021a