How can update my M and SLX files when I upgrade MATLAB?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 May 2021
Edited: MathWorks Support Team
on 2 Apr 2024
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
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Model Upgrades in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!