![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1616703/image.jpeg)
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.
0 个评论
采纳的回答
Kojiro Saito
2024-2-14
You need to include the PDF file in "Files required for your application to run" of Application Compiler.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1616703/image.jpeg)
Or, add "-a xxx.pdf" in mcc command.
0 个评论
更多回答(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!