Export graph to excel using app designer

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

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 Environment and Settings 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!