Clear Filters
Clear Filters

Does Simulink Report Generator support hyperlinks?

3 views (last 30 days)
Hi,
I want to know if Simulink Report Generator supports the creation of Hyperlinks in the generated documentation?
Thanks in advance.

Accepted Answer

Nils Hornik
Nils Hornik on 12 Feb 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 Comments
Nils Hornik
Nils Hornik on 13 Feb 2024
Hi Harish,
yes indeed you can use filpaths instead of URL in an external Link:
Hope that helps

Sign in to comment.

More Answers (0)

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!