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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Kojiro Saito
Kojiro Saito el 14 de Feb. de 2024
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.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by