Does Simulink Report Generator support hyperlinks?

4 vues (au cours des 30 derniers jours)
Harish
Harish le 9 Fév 2024
Commenté : Harish le 13 Fév 2024
Hi,
I want to know if Simulink Report Generator supports the creation of Hyperlinks in the generated documentation?
Thanks in advance.

Réponse acceptée

Nils Hornik
Nils Hornik le 12 Fév 2024
Hi Harish,
yes there are severval hyperlink types which can be included into a MTALAB/Simulink report:
You could take this example, which already uses internal hyperlinks to link the diagram components to detail views:
Than add these lines to add an external links (after line 22):
append(rpt,ExternalLink('https://www.mathworks.com/','MathWorks'));
add(rpt,PageBreak);
Hope that helps
  3 commentaires
Nils Hornik
Nils Hornik le 13 Fév 2024
Hi Harish,
yes indeed you can use filpaths instead of URL in an external Link:
Hope that helps
Harish
Harish le 13 Fév 2024
it did help. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Reporting and Database Access dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by