Plot a graph embedded in a function by caling this function in App Designer

1 view (last 30 days)
Hi,
I have a function file in a folder. I can create a graph by running this function. I want to plot the same graph in App Designer by calling this graph. How I can do this?
Thank you already in advance.

Answers (1)

Geoff Hayes
Geoff Hayes on 27 May 2019
Mehmet - does your function (to draw the graph) expect any input parameters? When your GUI is running, at what point do you want to call this function - when the GUI starts, when the user presses a button, or something else? In any event, you may need to update your function to pass in the handle to the axes upon which you want to draw the graph.

Categories

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

Community Treasure Hunt

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

Start Hunting!