Saving plots automatically in appdesigner

1 view (last 30 days)
Harish M Y
Harish M Y on 12 Jul 2021
I am designing a app for a models which have lot of nested functions to run the main function. The GUI for plotting and selecting files are provided in .m fies only. I am creating the app using dropdown box to select which model to run and select the file/folder corresponding to that.
The models are running successfully and asking the user to select folder to generate an output excel file to save. Before the final excel file saving it generated multiple plots with the GUI builtin from backend only. How can i autosave those multiple GUI plot screens in the specified folder.
This is the only thing I have provision for running the model. The plots and Excel sheet generation are done by the RunModel.m file itself. How do I save the plots automatically?
function Button(app,event)

Answers (0)


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!

Translated by