How do I run a .mlapp in a script? How can I access parts of the GUI in this script?

7 vues (au cours des 30 derniers jours)
Andrea Labudzki
Andrea Labudzki le 29 Déc 2021
Commenté : yanqi liu le 18 Jan 2022
Hello everyone. I've created a GUI in which the user can upload an image, make some changes to it, and see the changes live. I want to implement this GUI in my main code, but I have no idea how to do it. I hope this is just an easy solution and I'm just beginning my work with GUIs so I don't have expansive knowledge. Also, I would like to use this changed image in further parts of my code for more processing. How can I acess it in the main code?

Réponses (1)

yanqi liu
yanqi liu le 30 Déc 2021
yes,sir,if use fig format gui, my be use guide to open,such as
guide
open the fig file,and click right mouse to edit callback function,then you will find the code
if use .mlapp format gui, my be use guide to open,such as
appdesigner
open the mlapp file,and click right mouse to edit callback function,then you will find the code
  2 commentaires
Andrea Labudzki
Andrea Labudzki le 17 Jan 2022
would it be advisable to convert the .mlapp file to a .m file?
yanqi liu
yanqi liu le 18 Jan 2022
may be use uicontrol to rewrite the code

Connectez-vous pour commenter.

Catégories

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

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by