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

 采纳的回答

Adam Danz
Adam Danz 2020-6-25
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.

更多回答(0 个)

类别

在 帮助中心 和 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