How can you include hyperlinks in the model and the report?

5 次查看(过去 30 天)
I would like to insert a hyperlink into the model canvas via annotations or a docblock. I would then like to view and access this hyperlink on the report when making the system design document via report generator/explorer. How do you do this?

回答(1 个)

Aghamarsh Varanasi
Aghamarsh Varanasi 2021-3-18
Hi Joshua,
Hypelinks can be added to the model canvas via annotations. This documentation page helps you with adding the hyperlinks to annotations to make them interactive.
Annotations with links are not supported in R2015a version of MATLAB. Please update MATLAB to the latest version.
  2 个评论
Joshua Ford
Joshua Ford 2021-3-18
Hi Aghamarsh,
Thank you for your answer. I understand they can be included via annotation in the canvas. How can the same hyperlinks be represented in the report automatically? How can I automatically include the annotation with the hyperlink in the report? Can hyperlinks be included in SDD's?
Thanks,
Josh
Aghamarsh Varanasi
Aghamarsh Varanasi 2021-3-18
编辑:Aghamarsh Varanasi 2021-3-18
Annotations that contain hyperlinks are added as hyperlinks in the Simulink System Design Description. But in R2015a, hyperlinks are displayed as raw HTML text. To use this feature you need to update to the latest version of MATLAB.
To just add a hyperlink to SDD you can refer to this documentation page.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Reporting and Database Access 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by