Export graph to excel using app designer

2 views (last 30 days)
Hi! I understand it is possible to export graphs using MATLAB, but how can this be done using App Designer? I would like the graphs to go to a specific sheet too. Thanks

Accepted Answer

Adam Danz
Adam Danz on 25 Jun 2020
If you're using r2020a or later, see copygraphics() or exportgraphics().
Prior to r2020a, if you're trying to access an axes in AppDesigner, you'll need to copy the axes to a regular figure (not uifigure) before copying that figure's contents. That can be done with copyUIAxes() from the file exchange.

More Answers (0)

Categories

Find more on Printing and Saving 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!