Export menu bar tab in pdf with app designer
5 次查看(过去 30 天)
显示 更早的评论
I am looking to export a menu bar tab I did in an app to a pdf file.
I was able to print the first tab using exportapp, but I am not able to print the others.
Here's my code:
app = AppProductionRapport_V1;
[fileName, filePath] = uiputfile('*.pdf');
exportapp(app.Page1Panel, [filePath fileName]);
0 个评论
回答(1 个)
Mario Malic
2021-1-25
Hello,
You can change the tabs programmatically by GroupTab property SelectedTab, afterwards you can use the exportapp
UITabGroup.SelectedTab = UITabGroup.Children(1)
exportapp
UITabGroup.SelectedTab = UITabGroup.Children(2)
%...
0 个评论
另请参阅
类别
在 Help Center 和 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!