The hyperlink button fails after App Designer is packaged as a standalone desktop

2 次查看(过去 30 天)
The hyperlink url is the local pdf file, when I packed the app, I find the hyperlink is failed.
I also tried to set the url to link to the image file, but the hyperlink still failed.
In addition, hyperlinks failed regardless of whether the url is an absolute or relative path.
However, clicking a hyperlink is valid when the url is a web link.
What should we do to solve this problem and make the hyperlink work?
Thank you.

采纳的回答

Kojiro Saito
Kojiro Saito 2024-2-14
You need to include the PDF file in "Files required for your application to run" of Application Compiler.
Or, add "-a xxx.pdf" in mcc command.

更多回答(0 个)

类别

Help CenterFile 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