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일
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
it did help. Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Reporting 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