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.

 采纳的回答

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 个评论

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.
Hi Harish,
yes indeed you can use filpaths instead of URL in an external Link:
Hope that helps

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Reporting and Database Access 的更多信息

产品

版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by