Does Simulink Report Generator support hyperlinks?

Hi,
I want to know if Simulink Report Generator supports the creation of Hyperlinks in the generated documentation?
Thanks in advance.

 採用された回答

Nils Hornik
Nils Hornik 2024 年 2 月 12 日

1 投票

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 件のコメント

Harish
Harish 2024 年 2 月 13 日
Thanlks for the answer. It helps :-)
Also could you let me know if it is possible to add internal links instead of external links fron the web? Internal links in the sense, linking to documents or some other file available locally.
Nils Hornik
Nils Hornik 2024 年 2 月 13 日
Hi Harish,
yes indeed you can use filpaths instead of URL in an external Link:
Hope that helps
Harish
Harish 2024 年 2 月 13 日
it did help. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeReporting and Database Access についてさらに検索

製品

リリース

R2023b

質問済み:

2024 年 2 月 9 日

コメント済み:

2024 年 2 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by