Clear Filters
Clear Filters

hyperlink from report to block in simulink model

9 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Simulink Report Generator in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!