hyperlink from report to block in simulink model

7 次查看(过去 30 天)
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
A friend at mathworks pointed out an appropriate command (requires Requirements toolbox and local host to be properly configured):
slreq.getExternalURL(gcbh)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Report Generator 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by