parse
Analyze custom code for functions, types, global variables, and their dependencies
Description
, where
success
= obj.parse()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
= obj.parse('Force','On')
has the
same effect as success
= obj.parse('Force','Off')success = obj.parse()
.