Open saved figure in App Designer

I have developed an app using App Designer that runs specific funcitons (let's call this 'MyFunction') when a button is pressed. 'MyFunction" creates and plots a figure that opens in a new figure window. Is there anyway for me to open the plot created from 'MyFunction' in my app?
If 'MyFunciton' saves the figure as a .fig file, is there anyway for me to display this .fig file in my app?

Answers (1)

BhaTTa
BhaTTa on 13 Mar 2025
Hey @Tyler M, to display a plot created by an external function (MyFunction) within your App Designer app, you can use a UIAxes component. This allows you to embed the plot directly into your app's interface, providing a seamless user experience.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 24 May 2019

Answered:

on 13 Mar 2025

Community Treasure Hunt

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

Start Hunting!