Question about migrating guide to appdesigner

9 views (last 30 days)
I have used GUIDE for decades, and now finally need to convert. Most of the GUIDE apps I write have several .fig files. The "Strategies" tutorial doesn't (to my knowledge) explicitly tell how to connect these.
Thoughts?

Accepted Answer

dpb
dpb about 6 hours ago
Edited: dpb about 6 hours ago
See <appmigration.migrateGUIDEApp> on converting all .fig files in a folder at once. Beginning with R2023b
"When you use the appmigration.migrateGUIDEApp function to migrate multiple apps at once, the function updates app references. For example, to migrate a main app that opens a secondary app from GUIDE to App Designer, use the appmigration.migrateGUIDEApp function to migrate the main and secondary apps using a single command. The function replaces all references to the apps that you migrate together. Therefore, your migrated main app opens the migrated secondary app without any manual changes to your app code."
There will still be a lot of handwork left, but it should be a starting point.
  2 Comments
Douglas Anderson
Douglas Anderson about 2 hours ago
Thank ou very much. Much appreciated.
Another question: I have written software for clients using GUIDE, which had a decent though not glamorous look and feel. The app migrated from GUIDE to AppDesigner is truly bare-bones and grade-schoolish. Any suggestions for that?
Thanks.
dpb
dpb about 1 hour ago
Unfortunately, no. That falls under the aforementioned category of "lots left to do"; the tool knows nothing about aesthetics other than to simply try to put the same type of control in place and generate its callback interfaces.
Beyond that, one will have to manually change the features of each control in the appdesigner design tool.
The alternative with appdesigner itself would be to write "fixup" code in the startup function that adjusts the parameters of the UI components programmatically which would add to the startup overhead.
The other alternative would be to build the app totally programmatically but using the base structure of the uifgure app instead of the GUIDe style. I've not built any complex UI apps so I don't have any in-depth specifics to offer.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!