uifigure output inline with live script

4 vues (au cours des 30 derniers jours)
Brennan Fox
Brennan Fox le 20 Sep 2024
Réponse apportée : Jatin le 20 Sep 2024
Is there a way to output a uifigure directly into a live script rather than having another window pop-up?

Réponse acceptée

Jatin
Jatin le 20 Sep 2024
In MATLAB, "uifigure" objects are intended to function as standalone windows and cannot be directly embedded into live scripts. This limitation is also noted under the unsupported functionalities of Graphics in App Designer. Functions like "save", "load", "saveas", and "print" cannot be used with "uifigure" objects.
If you want to save the content of your app window, you can use the "exportapp" function to export it as an image or PDF.
For more information, refer to the sections on 'Unsupported Functionality of Graphics in App Designer' and the "exportapp" function below.
Hope this addresses your query.

Plus de réponses (0)

Catégories

En savoir plus sur Develop uifigure-Based Apps dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by