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

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.

回答(1 个)

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by