Exporting an app to PDF from standalone app

13 次查看(过去 30 天)
Old Newbie
Old Newbie 2025-11-4,14:54
评论: Old Newbie 2025-11-5,7:33
I have created an app and one of the buttons exports the app to PDF using the export_fig functions from file exchange. It works perfectly in Matlab, but in the compiled version, it does not work. The error in a try/catch is as follows:
I have done a which matlab.graphics.internal.export.WebExportWindowManager.getInstance and the file is in the Matlab program files directory. I also tried copying the files to the project folder, but it still gives the same error.
In the dependency analyzer, it shows that there is a missing file (app.fig which is the main UIFigure in the app). I am not sure if that is the cause.
How can I solve this? Any help will be appreciated!

回答(1 个)

Adam Danz
Adam Danz about 19 hours 前
I see you are using R2025a -- thanks for including that info on the right.
Be on the lookout for Update #2, available soon. If this is still a problem after Update 2 (R2025a) please contact tech support and reference #3628872.
  1 个评论
Old Newbie
Old Newbie about 4 hours 前
Thanks for responding so quickly. I have also compiled it with R2025b with the same error. I will wait for the update on either version - hopefully it won't be too long.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by