OpeningFcn of AppDesigner Conversion?

6 vues (au cours des 30 derniers jours)
Farhan Bin Amjad
Farhan Bin Amjad le 25 Nov 2019
How does one edit the initialize OpeningFcn of a GUI made in guide and then converted into AppDesigner?

Réponses (1)

Guillaume
Guillaume le 25 Nov 2019
I've no idea how the tool converts a GUIDE GUI into an App, but in App Designer all the initialisation code goes in the StartupFcn callback
If it's not there already in the app editor, in the code browser, under callbacks, click the +, then select UIFigure for the component and StartupFcn for the callback to insert it into your app code.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by