hyperlink from report to block in simulink model

Greetings,
I'd like to have a simulink report (.docx or .pdf) that includes an icon (or just name) of a block in a model that when clicked (or ctrl+click), the block in the model is highlited. So I'm looking for a function that generates a hyperlink suitable for navigation from a doc to a simulink model. I know this to be possible since the Requirements Toolbox will embed a link in a MSWord doc when associated with a requirement in a requirement set. (tho' not very slick as it uses a browser window as an intermediary). In this case, the hyperlink is of the form:
http://127.0.0.1:31415/matlab/feval/rmiobjnavigate?arguments=%5b%22untitled.slx%22,%22:1%22%5d
Thanks,
-Chris

 採用された回答

checker
checker 2023 年 6 月 4 日

0 投票

A friend at mathworks pointed out an appropriate command (requires Requirements toolbox and local host to be properly configured):
slreq.getExternalURL(gcbh)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Report Generator についてさらに検索

製品

リリース

R2022b

質問済み:

2023 年 6 月 1 日

回答済み:

2023 年 6 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by