How can update my M and SLX files when I upgrade MATLAB?

2 views (last 30 days)
I have M files (functions and scripts) and Simulink models that have errors when I upgrade MATLAB. I want to upgrade, but it takes too long to update each file individually. Is there some way to get a report of all of the changes that need to be made so that it easier to identify what needs to be edited?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Apr 2024
Edited: MathWorks Support Team on 2 Apr 2024
Simulink Projects allow you to group MATLAB files and Simulink models together and analyze them for upgrades simultaneously. For more information about projects, please refer to the following documentation page:
Once you have a project, you can select all of the files/models you want to analyze for upgrading through the Upgrade Project tool. Once you have a project, you open it and go to the Project tab in the Ribbon. Then you can check this upgrade process with "Run Checks" > "Upgrade Project" that will launch a GUI. For more information about upgrading files within a project, please refer to the following documentation page and example you can try:

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!