parse
Class: Simulink.CodeImporter
Namespace: Simulink
Analyze custom code for functions, types, global variables, and their dependencies
Since R2021a
Description
,
where success = parse(obj)obj is an object of Simulink.CodeImporter or
sltest.CodeImporter class, parses the custom code, but does not re-parse
the custom code if the custom code has been parsed previously and neither the custom code
nor the settings of obj.CustomCode have changed since the previous parse.
Results of a successful parse or error information from an unsuccessful parse are stored in
the ParseInfo property of obj.
parses the
custom code irrespective of whether any changes have been made since a previous
parse.success = parse(obj, 'Force','On')
has the
same effect as success = parse(obj, 'Force','Off')success = parse(obj).
Output Arguments
Examples
Version History
Introduced in R2021a