How to save parameter function in app designer?

3 次查看(过去 30 天)
hi, i use this function to plot graph in app designer
This function it's called by another function so I can't call her directly
XX_function_plotGraphAggregate_Struct(Ax,Es,XDates,cat,title,writeText_right,Color_Q4)
So after the first call I would like to save the data (I use app designer) How can I save them? Do I have to create a structure or are there simpler methods Thank you
Example to using struct to save it :
app.struct_grap.Ax=Ax
app.struct_grap.Es=Es
....
...

回答(1 个)

Taylor
Taylor 2023-11-30
If by "save the data" you just mean you want to store it for use within your current MATLAB session (within the App or outside), you will want to look at public/private properties for App Designer.

类别

Help CenterFile 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