uifigure output inline with live script

6 views (last 30 days)
Is there a way to output a uifigure directly into a live script rather than having another window pop-up?

Accepted Answer

Jatin
Jatin on 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.

More Answers (0)

Categories

Find more on Develop uifigure-Based Apps in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!