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

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?

Risposte (1)

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 Commenti

would it be advisable to convert the .mlapp file to a .m file?
may be use uicontrol to rewrite the code

Accedi per commentare.

Prodotti

Release

R2021a

Richiesto:

il 29 Dic 2021

Commentato:

il 18 Gen 2022

Community Treasure Hunt

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

Start Hunting!

Translated by