(Not recommended) Update source control status of project files
simulinkproject
is not recommended. Use currentProject
or openProject
instead. For more information, see Compatibility Considerations.
refreshSourceControl(
updates the
source control status for all files in the project proj
)proj
. Use
this to get the latest source control information before querying the
SourceControlStatus
property on individual files.
If you use listModifiedFiles
to find all modified files in
the project, you do not need to call refreshSourceControl
first.