![](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 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Yuanyuan Chen
il 3 Gen 2024
Risposto: Kojiro Saito
il 14 Feb 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 Commenti
Risposta accettata
Kojiro Saito
il 14 Feb 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!