import
Class: Simulink.CodeImporter
Namespace: Simulink
Syntax
success = import(obj)
success = import(obj, Name1,Value1,...,NameN,ValueN)
Description
, where
success
= import(obj
)obj
is an object of class Simulink.CodeImporter
, parses
the specified custom code and imports it into Simulink® with default import options. If the custom code was not previously parsed or if
the custom code or the settings of obj.CustomCode
have changed since the
custom code was parsed, then the ParseInfo
property of
obj
is populated or repopulated with the information resulting from the
parse.
parses the specified custom code and imports it into Simulink with options based on the specified name-value arguments.success
= import(obj, Name1,Value1,...,NameN,ValueN)
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2021a