![](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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yuanyuan Chen
le 3 Jan 2024
Réponse apportée : Kojiro Saito
le 14 Fév 2024
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 commentaires
Réponse acceptée
Kojiro Saito
le 14 Fév 2024
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Standalone Applications dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!