R2020a is the recommended release for migrating apps to App Designer.
Starting with R2020a, improvements to the migration tool significantly reduce the time and the number of manual code updates required to get your app running in App Designer. The improvements help make your GUIDE-style callback code compatible with the App Designer UI components in your migrated app. Whereas with releases R2018a through R2019b, you must manually update all your functions and callback code to work with App Designer.
For more details about the latest version of the migration tool, see GUIDE Migration Strategies (https://www.mathworks.com/help/matlab/creating_guis/differences-between-app-designer-and-guide.html) in the MATLAB documentation.
*** Background ***
In R2019b, MathWorks announced that the GUIDE design environment for building apps in MATLAB will be removed in a future release. GUIDE is built on older third-party technologies that cannot support the modern web-based workflows and features that MATLAB users request.
App Designer provides:
• An improved design canvas and expanded component set
• A robust programming model for managing data within an app
• App sharing for the desktop, the web, and MATLAB Online
Migrating your GUIDE app to App Designer lets you keep developing the layout of your app interactively. It also lets you take advantage of new features and improvements that App Designer offers. For a list of features, see Comparing GUIDE and App Designer (https://www.mathworks.com/products/matlab/app-designer/comparing-guide-and-app-designer.html?s_tid=srchtitle).
*** Features of the Migration Tool ***
The GUIDE to App Designer migration tool is a semi-automated tool that converts your GUIDE app into App Designer. It produces an MLAPP file that contains:
• App Designer components, property configurations, and layout that are equivalent to the ones you created in GUIDE
• A copy of the functions and callback code you defined in GUIDE
The tool also generates a migration report that lists any limitations or unsupported functionality, with suggested actions to resolve the issues, if available.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!