how export uifigure with exportgraphics()

Hello,
I'm trying to save a uifigure (not uiaxe) using
exportgraphics(app.UIFigure,'myfigure.jpg')
I only get a blank picture.
It works well with one uiaxe but I want to export the complete uifigure with all the uiaxes and titles
Does anybody suceeded doing this ?
Thanks

2 个评论

Same problem.
exportapp() works slightly better but sucks at rendering the same size as the original uifigure, and no option is available to change this.

请先登录,再进行评论。

 采纳的回答

3 个评论

Note that exportapp is R2020b.
Hello Mr. Roberson, I am trying to use 'exportgraphics' in 2019b. it is not available. What is the alternative function to use?

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息

产品

版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by