Export menu bar tab in pdf with app designer

1 回表示 (過去 30 日間)
Anthony Martin
Anthony Martin 2021 年 1 月 25 日
回答済み: Mario Malic 2021 年 1 月 25 日
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]);

回答 (1 件)

Mario Malic
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)
%...

カテゴリ

Help Center および File ExchangeDebugging and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by