Easily upgrade all the models in your project using the Upgrade Project tool in a project.
Run the following commands to create and open a working copy of the project files.
Simulink.ModelManagement.Project.projectDemo('airframe', 'git'); rebuild_s_functions('no_progress_dialog');
Starting: Simulink Building with 'gcc'. MEX completed successfully.
The project example copies files to a new folder so that you can edit them and use them under Git version control. Placing your files under version control lets you compare the upgraded model files with the original versions.
Upgrade all models and MATLAB code in your project to the latest release using a simple workflow. The Upgrade Project tool can apply fixes automatically when possible, upgrade all model hierarchies in the project at once, and produce a report.
In the Project tab click Run Checks > Upgrade.
This loads the upgrade advisor checks and runs a dependency analysis on your project to ensure the project hierarchy is handled correctly.
Click Upgrade to run all upgrade checks on all models, libraries and MATLAB code in your project. If any check fails and there is a fix available, the project automatically applies the fix and runs the relevant checks again to ensure they now pass.
Inspect the results of the upgrade in the report.