This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


(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(proj) updates the source control status for all files in the project 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.


collapse all

Open the airframe project and create a project object.

proj = simulinkproject;

Refresh source control status before querying individual files.


Input Arguments

collapse all

Project, specified as a project object. Use simulinkproject to create a project object to manipulate a project at the command line.

Compatibility Considerations

expand all

Not recommended starting in R2019a

Introduced in R2016a